Packagecom.yworks.io.graphml.reader.deserializer
Classpublic class ComponentNodeStyleDeserializer
InheritanceComponentNodeStyleDeserializer Inheritance AbstractDeserializer

An IDeserializer for the ComponentNodeStyle.

The component itself is deserialized either using a custom separate deserializer that is obtained from the context or using a class name.



Public Properties
 PropertyDefined by
  elementName : String
[read-only] The local tag name that this Deserializer can claim to handle
ComponentNodeStyleDeserializer
  instance : ComponentNodeStyleDeserializer
[static][read-only] The singleton instance of this deserializer.
ComponentNodeStyleDeserializer
  xmlNamespace : Namespace
[read-only] The XmlNamespace that this Deserializer can claim to handle.
ComponentNodeStyleDeserializer
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
ComponentNodeStyleDeserializer
Property detail
elementNameproperty
elementName:String  [read-only]

The local tag name that this Deserializer can claim to handle

Implementation
    public function get elementName():String
instanceproperty 
instance:ComponentNodeStyleDeserializer  [read-only]

The singleton instance of this deserializer.

Implementation
    public static function get instance():ComponentNodeStyleDeserializer
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