Packagecom.yworks.io.graphml.reader.deserializer
Classpublic class ArrayDeserializer
InheritanceArrayDeserializer Inheritance AbstractDeserializer Inheritance Object

A deserializer implementation that deserializes Array objects. For each child element a deserializer is looked up. The deserialized value (or null if no deserializer could be found) is added to the returned Array.



Public Properties
 PropertyDefined By
  elementName : String
[override] [read-only] The local tag name that this Deserializer can claim to handle
ArrayDeserializer
  instance : ArrayDeserializer
[static] [read-only] The shared instance of this deserializer.
ArrayDeserializer
  xmlNamespace : Namespace
[override] [read-only] The XmlNamespace that this Deserializer can claim to handle.
ArrayDeserializer
Public Methods
 MethodDefined By
  
canHandle(context:GraphMLParseContext, element:XML):Boolean
[override]
ArrayDeserializer
  
deserialize(context:GraphMLParseContext, element:XML):Object
[override] Create a new instance from the xml element
ArrayDeserializer
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:ArrayDeserializer  [read-only]

The shared instance of this deserializer.


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

See also

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

Parameters

context:GraphMLParseContext
 
element:XML

Returns
Boolean
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