| Package | com.yworks.io.graphml.writer.serializer |
| Class | public class PolylineEdgeStyleSerializer |
| Inheritance | PolylineEdgeStyleSerializer AbstractEdgeStyleSerializer AbstractSerializer Object |
| Property | Defined By | ||
|---|---|---|---|
| elementName : String [override] [read-only]
The element name of the toplevel XmlElement for the serialized representation of this object. | PolylineEdgeStyleSerializer | ||
| instance : PolylineEdgeStyleSerializer [static] [read-only]
The shared instance of this serializer
| PolylineEdgeStyleSerializer | ||
![]() | 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. | PolylineEdgeStyleSerializer | ||
![]() |
Serialize the given style to a IXmlWriter. | AbstractSerializer | |
| Method | Defined By | ||
|---|---|---|---|
![]() | [override]
Write the content of the graphml element that corresponds to the serialization of subject. | AbstractEdgeStyleSerializer | |
[override]
Serialize the style itself (without arrows). | PolylineEdgeStyleSerializer | ||
| 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:PolylineEdgeStyleSerializer [read-only] The shared instance of this serializer
public static function get instance():PolylineEdgeStyleSerializer| canHandle | () | method |
override public function canHandle(context:GraphMLWriteContext, subject:Object):BooleanReturn 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
|
| writeStyle | () | method |
override 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.
Parameters
context:GraphMLWriteContext — The current write context
| |
style:IEdgeStyle — The actual Edge style
| |
writer:IXmlWriter — The current output writer
|