Package | com.yworks.io.graphml.reader.deserializer |
Class | public class PolylineEdgeStyleDeserializer |
Inheritance | PolylineEdgeStyleDeserializer AbstractEdgeStyleDeserializer AbstractDeserializer Object |
GeneralPath
instances.
A shared instance can be retrieved with instance
.
Property | Defined 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 | ||
xmlNamespace : Namespace [override] [read-only]
The XmlNamespace that this Deserializer can claim to handle. | AbstractEdgeStyleDeserializer |
Method | Defined By | ||
---|---|---|---|
Deserialize an arrow element. | AbstractEdgeStyleDeserializer | ||
[override]
Deserialize the style specific data content of element. | PolylineEdgeStyleDeserializer | ||
[override]
Set the arrow arrow
to style. | PolylineEdgeStyleDeserializer |
elementName | property |
elementName:String
[read-only] [override] The local tag name that this Deserializer can claim to handle
public function get elementName():String
instance | property |
instance:PolylineEdgeStyleDeserializer
[read-only] The shared instance of this deserializer.
public static function get instance():PolylineEdgeStyleDeserializer
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
|
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.
|