| Package | com.yworks.io.graphml.writer.serializer |
| Class | public class AbstractArrowSerializer |
| Inheritance | AbstractArrowSerializer AbstractSerializer |
| Implements | com.yworks.io.graphml.writer.serializer.ArrowSupport |
| Subclasses | DefaultArrowSerializer |
| Property | Defined by | ||
|---|---|---|---|
| atSource : Boolean
Determines, whether the arrow is located at the edges source or target port.
| AbstractArrowSerializer | ||
![]() | elementName : String
The element name of the toplevel XmlElement for the serialized representation of this object
| AbstractSerializer | |
![]() | xmlNamespace : Namespace
returns the yworks namespace
| AbstractSerializer | |
| Method | Defined by | ||
|---|---|---|---|
|
canHandle(context:GraphMLWriteContext, subject:Object):Boolean
Return whether this serializer can handle a specific object
| AbstractArrowSerializer | ||
![]() |
Serialize the given style to a
IXmlWriter
| AbstractSerializer | |
| Method | Defined by | ||
|---|---|---|---|
|
Serialize the given arrow to a
IXmlWriter
| AbstractArrowSerializer | ||
|
Serialize the given arrow to a
IXmlWriter
Implementors should not overwrite this method, but
| AbstractArrowSerializer | ||
| atSource | property |
atSource:Boolean [read-write]Determines, whether the arrow is located at the edges source or target port.
Implementation public function get atSource():Boolean
public function set atSource(value:Boolean):void
| canHandle | () | method |
public override function canHandle(context:GraphMLWriteContext, subject:Object):BooleanReturn whether this serializer can handle a specific object
Parameterscontext:GraphMLWriteContext — The write context.
|
|
subject:Object — The object which is tested
|
Boolean — true if the serializer can handle the subject
|
| serializeArrow | () | method |
protected 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
|
| serializeContent | () | method |
protected override function serializeContent(context:GraphMLWriteContext, subject:Object, writer:IXmlWriter):void
Serialize the given arrow to a IXmlWriter
Implementors should not overwrite this method, but
serializeArrow instead.
context:GraphMLWriteContext — The current write context
|
|
subject:Object — The actual arrow
|
|
writer:IXmlWriter — A IXmlWriter instance for output
|