Packagecom.yworks.io.graphml.writer.serializer
Classpublic class NodeStyleLabelStyleAdapterSerializer
InheritanceNodeStyleLabelStyleAdapterSerializer Inheritance AbstractSerializer Inheritance Object

Serializer for NodeStyleLabelStyleAdapter Instances



Public Properties
 PropertyDefined By
  elementName : String
[override] [read-only] The element name of the toplevel XmlElement for the serialized representation of this object.
NodeStyleLabelStyleAdapterSerializer
  instance : NodeStyleLabelStyleAdapterSerializer
[static] [read-only] The shared instance of this serializer
NodeStyleLabelStyleAdapterSerializer
 InheritedxmlNamespace : Namespace
[read-only] returns the yworks namespace
AbstractSerializer
Public Methods
 MethodDefined By
 Inherited
canHandle(context:GraphMLWriteContext, subject:Object):Boolean
Return whether this serializer can handle a specific object.
AbstractSerializer
 Inherited
serialize(context:GraphMLWriteContext, subject:Object, writer:IXmlWriter):void
Serialize the given style to a IXmlWriter.
AbstractSerializer
Protected Methods
 MethodDefined By
  
serializeContent(context:GraphMLWriteContext, subject:Object, writer:IXmlWriter):void
[override] Serialize the given style to a IXmlWriter
NodeStyleLabelStyleAdapterSerializer
Property Detail
elementNameproperty
elementName:String  [read-only] [override]

The element name of the toplevel XmlElement for the serialized representation of this object.


Implementation
    public function get elementName():String
instanceproperty 
instance:NodeStyleLabelStyleAdapterSerializer  [read-only]

The shared instance of this serializer


Implementation
    public static function get instance():NodeStyleLabelStyleAdapterSerializer
Method Detail
serializeContent()method
override protected function serializeContent(context:GraphMLWriteContext, subject:Object, writer:IXmlWriter):void

Serialize the given style to a IXmlWriter

Parameters

context:GraphMLWriteContext — The current write param
 
subject:Object — The actual object
 
writer:IXmlWriter — A IXmlWriter instance where the output is written