Packagecom.yworks.io.graphml.writer.serializer
Classpublic class IterableSerializer
InheritanceIterableSerializer Inheritance Object
Implements ISerializer



Public Properties
 PropertyDefined By
  elementName : String
[read-only]
IterableSerializer
  instance : IterableSerializer
[static] [read-only]
IterableSerializer
  xmlNamespace : Namespace
[read-only]
IterableSerializer
Public Methods
 MethodDefined By
  
canHandle(context:GraphMLWriteContext, subject:Object):Boolean
Return whether this serializer can handle a specific object.
IterableSerializer
  
serialize(context:GraphMLWriteContext, subject:Object, writer:IXmlWriter):void
Serialize the given style to a IXmlWriter.
IterableSerializer
Property Detail
elementNameproperty
elementName:String  [read-only]


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


Implementation
    public static function get instance():IterableSerializer
xmlNamespaceproperty 
xmlNamespace:Namespace  [read-only]


Implementation
    public function get xmlNamespace():Namespace
Method Detail
canHandle()method
public function canHandle(context:GraphMLWriteContext, subject:Object):Boolean

Return whether this serializer can handle a specific object.

Parameters

context:GraphMLWriteContext — The write context.
 
subject:Object — The object which is tested

Returns
Booleantrue if the serializer can handle the subject
serialize()method 
public function serialize(context:GraphMLWriteContext, subject:Object, writer:IXmlWriter):void

Serialize the given style to a IXmlWriter.

Parameters

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