| Package | com.yworks.io.graphml.writer |
| Interface | public interface ISerializer |
| Implementors | AbstractSerializer |
It is advised that implementors use abstract
implementation classes like AbstractSerializer
instead as base classes.
| Property | Defined by | ||
|---|---|---|---|
| elementName : String [read-only]
The element name of the toplevel XmlElement for the serialized representation of this object
| ISerializer | ||
| xmlNamespace : Namespace [read-only]
The XmlNamespace that should be used for this serializer
| ISerializer | ||
| Method | Defined by | ||
|---|---|---|---|
|
canHandle(context:GraphMLWriteContext, subject:Object):Boolean
Return whether this serializer can handle a specific object
| ISerializer | ||
|
Serialize the given style to a
IXmlWriter
| ISerializer | ||
| 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
| xmlNamespace | property |
xmlNamespace:Namespace [read-only]The XmlNamespace that should be used for this serializer
Implementation public function get xmlNamespace():Namespace
| canHandle | () | method |
public 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
|
| serialize | () | method |
public function serialize(context:GraphMLWriteContext, subject:Object, writer:IXmlWriter):void
Serialize the given style to a IXmlWriter
context:GraphMLWriteContext — The current write context
|
|
subject:Object — The actual object
|
|
writer:IXmlWriter — An IXmlWriter instance where the
output is written
|
See also