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