Packagecom.yworks.io.graphml.reader.deserializer
Classpublic class DefaultArrowDeserializer
InheritanceDefaultArrowDeserializer Inheritance AbstractDeserializer Inheritance Object

A deserializer implementation that deserializes IArrow instances.

A shared instance can be retrieved using instance



Public Properties
 PropertyDefined By
  elementName : String
[override] [read-only] The local tag name that this Deserializer can claim to handle
DefaultArrowDeserializer
  instance : DefaultArrowDeserializer
[static] [read-only] The singleton instance of this DefaultArrowDeserializer
DefaultArrowDeserializer
  xmlNamespace : Namespace
[override] [read-only] The XmlNamespace that this Deserializer can claim to handle.
DefaultArrowDeserializer
Public Methods
 MethodDefined By
  
canHandle(context:GraphMLParseContext, element:XML):Boolean
[override] Return whether a deserializer can handle a specific xml element
DefaultArrowDeserializer
  
deserialize(context:GraphMLParseContext, element:XML):Object
[override] Create a new instance from the xml element
DefaultArrowDeserializer
Property Detail
elementNameproperty
elementName:String  [read-only] [override]

The local tag name that this Deserializer can claim to handle


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

The singleton instance of this DefaultArrowDeserializer


Implementation
    public static function get instance():DefaultArrowDeserializer
xmlNamespaceproperty 
xmlNamespace:Namespace  [read-only] [override]

The XmlNamespace that this Deserializer can claim to handle.

This method needs to be overridden by subclass implementations.


Implementation
    public function get xmlNamespace():Namespace
Method Detail
canHandle()method
override public function canHandle(context:GraphMLParseContext, element:XML):Boolean

Return whether a deserializer can handle a specific xml element

Parameters

context:GraphMLParseContext — The current parse context
 
element:XML — The xml element in question

Returns
Booleantrue iff this deserializer can handle the xml element
deserialize()method 
override public 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