Packagecom.yworks.io.graphml.reader.deserializer
Classpublic class PolylineEdgeStyleDeserializer
InheritancePolylineEdgeStyleDeserializer Inheritance AbstractEdgeStyleDeserializer Inheritance AbstractDeserializer Inheritance Object

Deserializer implementation that deserializes GeneralPath instances.

A shared instance can be retrieved with instance.



Public Properties
 PropertyDefined By
  elementName : String
[override] [read-only] The local tag name that this Deserializer can claim to handle
PolylineEdgeStyleDeserializer
  instance : PolylineEdgeStyleDeserializer
[static] [read-only] The shared instance of this deserializer.
PolylineEdgeStyleDeserializer
 InheritedxmlNamespace : Namespace
[override] [read-only] The XmlNamespace that this Deserializer can claim to handle.
AbstractEdgeStyleDeserializer
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] Deserialize the data content of element.
AbstractEdgeStyleDeserializer
Protected Methods
 MethodDefined By
 Inherited
Deserialize an arrow element.
AbstractEdgeStyleDeserializer
  
[override] Deserialize the style specific data content of element.
PolylineEdgeStyleDeserializer
  
setArrow(style:IEdgeStyle, arrow:IArrow, atSoure:Boolean):void
[override] Set the arrow arrow to style.
PolylineEdgeStyleDeserializer
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:PolylineEdgeStyleDeserializer  [read-only]

The shared instance of this deserializer.


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

Deserialize the style specific data content of element.

Parameters

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

Returns
IEdgeStyle — A new instance of IEdgeStyle
setArrow()method 
override protected function setArrow(style:IEdgeStyle, arrow:IArrow, atSoure:Boolean):void

Set the arrow arrow to style.

Parameters

style:IEdgeStyle — The edge style where the arrow should be set
 
arrow:IArrow — The arrow itself
 
atSoure:Boolean — Whether to set the source arrow (true) or target arrow.