Package | com.yworks.io.graphml.writer.serializer |
Class | public class IterableSerializer |
Inheritance | IterableSerializer Object |
Implements | ISerializer |
Property | Defined By | ||
---|---|---|---|
elementName : String [read-only]
| IterableSerializer | ||
instance : IterableSerializer [static] [read-only] | IterableSerializer | ||
xmlNamespace : Namespace [read-only]
| IterableSerializer |
Method | Defined By | ||
---|---|---|---|
canHandle(context:GraphMLWriteContext, subject:Object):Boolean
Return whether this serializer can handle a specific object. | IterableSerializer | ||
Serialize the given style to a IXmlWriter. | IterableSerializer |
elementName | property |
elementName:String
[read-only]
public function get elementName():String
instance | property |
instance:IterableSerializer
[read-only] public static function get instance():IterableSerializer
xmlNamespace | property |
xmlNamespace:Namespace
[read-only]
public function get xmlNamespace():Namespace
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
|
Boolean — true 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
|