Packagecom.yworks.io.graphml.reader
Interfacepublic interface IDeserializer
Implementors AbstractDeserializer

Interface fo classes that provide deserialization of Xml content in GraphML.



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


Implementation
    public function get xmlNamespace():Namespace
Method Detail
canHandle()method
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 
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