| Package | com.yworks.io.graphml.reader.deserializer |
| Class | public class AbstractNodeStyleDeserializer |
| Inheritance | AbstractNodeStyleDeserializer AbstractDeserializer |
| Subclasses | BevelNodeStyleDeserializer, BitmapNodeStyleDeserializer, GeneralPathNodeStyleDeserializer, ImageNodeStyleDeserializer, ShapeNodeStyleDeserializer, SWFNodeStyleDeserializer |
| Property | Defined by | ||
|---|---|---|---|
| elementName : String [read-only]
The local tag name that this Deserializer can claim to handle
| AbstractNodeStyleDeserializer | ||
| xmlNamespace : Namespace [read-only]
The XmlNamespace that this Deserializer can claim to handle.
| AbstractNodeStyleDeserializer | ||
| 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
| AbstractNodeStyleDeserializer | ||
| Method | Defined by | ||
|---|---|---|---|
|
Deserialize the style specific data content of
element. | AbstractNodeStyleDeserializer | ||
| 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
| deserialize | () | method |
public override 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
|
| deserializeStyle | () | method |
protected function deserializeStyle(context:GraphMLParseContext, element:XML):INodeStyle
Deserialize the style specific data content of element.
context:GraphMLParseContext — The current parse context
|
|
element:XML — The current XML object that represents the node style
|
INodeStyle —
A new INodeStyle instance or the instance passed as styleInstance.
|