IDeserializer implementation that provides
a default implementation of canHandle.
| Property | Defined by | ||
|---|---|---|---|
| elementName : String [read-only]
The local tag name that this Deserializer can claim to handle
| AbstractDeserializer | ||
| xmlNamespace : Namespace [read-only]
The XmlNamespace that this Deserializer can claim to handle.
| AbstractDeserializer | ||
| Method | Defined by | ||
|---|---|---|---|
|
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
| AbstractDeserializer | ||
| elementName | property |
elementName:String [read-only]The local tag name that this Deserializer can claim to handle
Implementation public function get elementName():String
| xmlNamespace | property |
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
| canHandle | () | method |
public function canHandle(context:GraphMLParseContext, element:XML):BooleanReturns whether a deserializer can handle a specific xml element. This implementation returns true, if
elementNamexmlNamespacerefid attribute.
context:GraphMLParseContext — The current parse context
|
|
element:XML — The xml element being parsed.
|
Boolean — Whether this deserializer will be able to parse the given xml element.
|
| deserialize | () | method |
public function deserialize(context:GraphMLParseContext, element:XML):ObjectCreate a new instance from the xml element
Parameterscontext:GraphMLParseContext — The current parse context
|
|
element:XML — The current xml element
|
Object — A new instance
|