Packagecom.yworks.io.graphml.reader.deserializer
Classpublic class AbstractNodeStyleDeserializer
InheritanceAbstractNodeStyleDeserializer Inheritance AbstractDeserializer
SubclassesBevelNodeStyleDeserializer, BitmapNodeStyleDeserializer, GeneralPathNodeStyleDeserializer, ImageNodeStyleDeserializer, ShapeNodeStyleDeserializer, SWFNodeStyleDeserializer



Public Properties
 PropertyDefined by
  elementName : String
[read-only] The local tag name that this Deserializer can claim to handle
AbstractNodeStyleDeserializer
  xmlNamespace : Namespace
[read-only] The XmlNamespace that this Deserializer can claim to handle.
AbstractNodeStyleDeserializer
Public Methods
 MethodDefined by
 Inherited
canHandle(context:GraphMLParseContext, element:XML):Boolean
Returns whether a deserializer can handle a specific xml element.
AbstractDeserializer
  
deserialize(context:GraphMLParseContext, element:XML):Object
Create a new instance from the xml element
AbstractNodeStyleDeserializer
Protected Methods
 MethodDefined by
  
Deserialize the style specific data content of element.
AbstractNodeStyleDeserializer
Property detail
elementNameproperty
elementName:String  [read-only]

The local tag name that this Deserializer can claim to handle

Implementation
    public function get elementName():String
xmlNamespaceproperty 
xmlNamespace:Namespace  [read-only]

The XmlNamespace that this Deserializer can claim to handle.

This method needs to be overriden by subclass implementations.

Implementation
    public function get xmlNamespace():Namespace
Method detail
deserialize()method
public override function deserialize(context:GraphMLParseContext, element:XML):Object

Create a new instance from the xml element

Parameters
context:GraphMLParseContext — The current parse context
 
element:XML — The current xml element

Returns
Object — A new instance
deserializeStyle()method 
protected function deserializeStyle(context:GraphMLParseContext, element:XML):INodeStyle

Deserialize the style specific data content of element.

Parameters
context:GraphMLParseContext — The current parse context
 
element:XML — The current XML object that represents the node style

Returns
INodeStyle — A new INodeStyle instance or the instance passed as styleInstance.