Package | com.yworks.io.graphml.writer.serializer |
Class | public class DefaultArrowSerializer |
Inheritance | DefaultArrowSerializer AbstractArrowSerializer AbstractSerializer Object |
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 [override] [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 [read-only]
returns the yworks namespace
| AbstractSerializer |
Method | Defined By | ||
---|---|---|---|
[override]
Serialize the given arrow to a IXmlWriter
| DefaultArrowSerializer | ||
[override]
Serialize the given arrow to a IXmlWriter
Implementors should not overwrite this method, but
serializeArrow instead. | AbstractArrowSerializer |
elementName | property |
elementName:String
[read-only] [override] The element name of the toplevel XmlElement for the serialized representation of this object.
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 |
override protected function serializeArrow(context:GraphMLWriteContext, arrow:IArrow, writer:IXmlWriter):void
Serialize the given arrow to a IXmlWriter
Parameters
context:GraphMLWriteContext — The current write context
| |
arrow:IArrow — The actual arrow
| |
writer:IXmlWriter — A IXmlWriter instance for output
|