Package | com.yworks.io.graphml.writer.serializer |
Class | public class ArraySerializer |
Inheritance | ArraySerializer Object |
Implements | ISerializer |
Array
objects.
The entries of the array are written as XML
children of an Array node ordered by their indices.
Property | Defined By | ||
---|---|---|---|
elementName : String [read-only]
The element name of the toplevel XmlElement for the serialized representation of this object. | ArraySerializer | ||
instance : ArraySerializer [static] [read-only]
The shared instance of this serializer
| ArraySerializer | ||
xmlNamespace : Namespace [read-only]
The XmlNamespace that should be used for this serializer. | ArraySerializer |
Method | Defined By | ||
---|---|---|---|
canHandle(context:GraphMLWriteContext, subject:Object):Boolean
Return whether this serializer can handle a specific object
| ArraySerializer | ||
ArraySerializer |
elementName | property |
elementName:String
[read-only] The element name of the toplevel XmlElement for the serialized representation of this object.
public function get elementName():String
instance | property |
instance:ArraySerializer
[read-only] The shared instance of this serializer
public static function get instance():ArraySerializer
xmlNamespace | property |
xmlNamespace:Namespace
[read-only] The XmlNamespace that should be used for this serializer.
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 subject is of type Array
|
serialize | () | method |
public function serialize(context:GraphMLWriteContext, subject:Object, writer:IXmlWriter):void
Parameters
context:GraphMLWriteContext | |
subject:Object | |
writer:IXmlWriter |