| Package | com.yworks.io.graphml.writer.serializer |
| Class | public class DefaultArrowSerializer |
| Inheritance | DefaultArrowSerializer AbstractArrowSerializer AbstractSerializer |
IArrow instances.
A shared instance can be retrieved using instance
| Property | Defined by | ||
|---|---|---|---|
![]() | atSource : Boolean
Determines, whether the arrow is located at the edges source or target port.
| AbstractArrowSerializer | |
| elementName : String [read-only]
The element name of the toplevel XmlElement for the serialized representation of this object
| DefaultArrowSerializer | ||
| instance : DefaultArrowSerializer
[static][read-only]
The singleton instance of this
DefaultArrowSerializer
| DefaultArrowSerializer | ||
![]() | xmlNamespace : Namespace
returns the yworks namespace
| AbstractSerializer | |
| Method | Defined by | ||
|---|---|---|---|
|
Serialize the given arrow to a
IXmlWriter
| DefaultArrowSerializer | ||
![]() |
Serialize the given arrow to a
IXmlWriter
Implementors should not overwrite this method, but
| AbstractArrowSerializer | |
| elementName | property |
elementName:String [read-only]The element name of the toplevel XmlElement for the serialized representation of this object
Implementation public function get elementName():String
| instance | property |
instance:DefaultArrowSerializer [read-only]
The singleton instance of this DefaultArrowSerializer
public static function get instance():DefaultArrowSerializer
| serializeArrow | () | method |
protected override function serializeArrow(context:GraphMLWriteContext, arrow:IArrow, writer:IXmlWriter):void
Serialize the given arrow to a IXmlWriter
context:GraphMLWriteContext — The current write context
|
|
arrow:IArrow — The actual arrow
|
|
writer:IXmlWriter — A IXmlWriter instance for output
|