Package | com.yworks.io.graphml.writer.serializer |
Class | public class AbstractEdgeStyleSerializer |
Inheritance | AbstractEdgeStyleSerializer AbstractSerializer Object |
Subclasses | PolylineEdgeStyleSerializer |
This class provides hooks for serialization of style content and arrow handling
Method | Defined By | ||
---|---|---|---|
[override]
Write the content of the graphml element that corresponds to the serialization of subject. | AbstractEdgeStyleSerializer | ||
Serialize the style itself (without arrows). | AbstractEdgeStyleSerializer |
serializeContent | () | method |
override protected function serializeContent(context:GraphMLWriteContext, subject:Object, writer:IXmlWriter):void
Write the content of the graphml element that corresponds to the serialization of subject
.
Parameters
context:GraphMLWriteContext — The current write context.
| |
subject:Object — The current object to be serialized.
| |
writer:IXmlWriter — The xml writer.
|
writeStyle | () | method |
protected function writeStyle(context:GraphMLWriteContext, style:IEdgeStyle, writer:IXmlWriter):void
Serialize the style itself (without arrows).
This is the only method that implementors need to implement or override.
Parameters
context:GraphMLWriteContext — The current write context
| |
style:IEdgeStyle — The actual Edge style
| |
writer:IXmlWriter — The current output writer
|