| Package | com.yworks.io.graphml.writer.serializer |
| Class | public class AbstractEdgeStyleSerializer |
| Inheritance | AbstractEdgeStyleSerializer AbstractSerializer |
| Subclasses | PolylineEdgeStyleSerializer |
This class provides hooks for serialization of style content and arrow handling
| Method | Defined by | ||
|---|---|---|---|
|
Write the content of the graphml element that corresponds to the serialization of
subject. | AbstractEdgeStyleSerializer | ||
|
Serialize the style itself (without arrows).
| AbstractEdgeStyleSerializer | ||
| serializeContent | () | method |
protected override function serializeContent(context:GraphMLWriteContext, subject:Object, writer:IXmlWriter):void
Write the content of the graphml element that corresponds to the serialization of subject.
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):voidSerialize the style itself (without arrows).
This is the only method that implementors need to implement or override.
Parameterscontext:GraphMLWriteContext — The current write context
|
|
style:IEdgeStyle — The actual Edge style
|
|
writer:IXmlWriter — The current output writer
|