| Package | com.yworks.io.graphml.writer.serializer |
| Class | public class ImageNodeStyleSerializer |
| Inheritance | ImageNodeStyleSerializer AbstractSerializer |
ImageNodeStyles
| Property | Defined by | ||
|---|---|---|---|
| elementName : String [read-only]
The element name of the toplevel XmlElement for the serialized representation of this object
| ImageNodeStyleSerializer | ||
| instance : ImageNodeStyleSerializer
[static][read-only]
The shared instance of this serializer
| ImageNodeStyleSerializer | ||
![]() | 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
| ImageNodeStyleSerializer | ||
![]() |
Serialize the given style to a
IXmlWriter
| AbstractSerializer | |
| Method | Defined by | ||
|---|---|---|---|
|
Write the content of the graphml element that corresponds to the serialization of
subject. | ImageNodeStyleSerializer | ||
| elementName | property |
elementName:String [read-only]The element name of the toplevel XmlElement for the serialized representation of this object
Implementation public function get elementName():String
| instance | property |
instance:ImageNodeStyleSerializer [read-only]The shared instance of this serializer
Implementation public static function get instance():ImageNodeStyleSerializer
| 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
|
| 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.
|