Packagecom.yworks.io.graphml.reader.deserializer
Classpublic class ShapeNodeStyleDeserializer
InheritanceShapeNodeStyleDeserializer Inheritance AbstractNodeStyleDeserializer Inheritance AbstractDeserializer Inheritance Object

A deserializer implementation that deserializes ShapeNodeStyle instances. Note that this deserializer will try to convert ShapeNodeShape constants that are only known by yFiles Java to ShapeNodeShape constants that are known by yFiles.NET.

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
ShapeNodeStyleDeserializer
  instance : ShapeNodeStyleDeserializer
[static] [read-only] The shared instance of this deserializer
ShapeNodeStyleDeserializer
 InheritedxmlNamespace : Namespace
[override] [read-only] The XmlNamespace that this Deserializer can claim to handle.
AbstractNodeStyleDeserializer
Public Methods
 MethodDefined By
 Inherited
canHandle(context:GraphMLParseContext, element:XML):Boolean
Returns whether a deserializer can handle a specific xml element.
AbstractDeserializer
 Inherited
deserialize(context:GraphMLParseContext, element:XML):Object
[override] Create a new instance from the xml element
AbstractNodeStyleDeserializer
Protected Methods
 MethodDefined By
  
[override] Deserialize the style specific data content of element.
ShapeNodeStyleDeserializer
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:ShapeNodeStyleDeserializer  [read-only]

The shared instance of this deserializer


Implementation
    public static function get instance():ShapeNodeStyleDeserializer
Method Detail
deserializeStyle()method
override protected function deserializeStyle(context:GraphMLParseContext, element:XML):INodeStyle

Deserialize the style specific data content of element.

Parameters

context:GraphMLParseContext — The current parse context
 
element:XML — The current XML object that represents the node style

Returns
INodeStyle — A new INodeStyle instance or the instance passed as styleInstance.