Package | com.yworks.io.binary |
Class | public class ObjectSerializer |
Inheritance | ObjectSerializer AbstractSerializer Object |
Property | Defined By | ||
---|---|---|---|
elementName : String [override] [read-only]
returns "AMFObject". | ObjectSerializer | ||
xmlNamespace : Namespace [read-only]
returns the yworks namespace
| AbstractSerializer |
Method | Defined By | ||
---|---|---|---|
ObjectSerializer(objectList:List)
Create a new instance that will put any Objects that are to be serialized
using the AMF format into the provided list. | ObjectSerializer | ||
canHandle(context:GraphMLWriteContext, subject:Object):Boolean [override]
Returns true, unless subject is null. | ObjectSerializer | ||
Serialize the given style to a IXmlWriter. | AbstractSerializer |
Method | Defined By | ||
---|---|---|---|
[override]
Puts the given subject into the List that was passed upon initialization, unless
it is already contained in the List. | ObjectSerializer |
elementName | property |
elementName:String
[read-only] [override] returns "AMFObject".
public function get elementName():String
ObjectSerializer | () | Constructor |
public function ObjectSerializer(objectList:List)
Create a new instance that will put any Objects that are to be serialized using the AMF format into the provided list.
ParametersobjectList:List |
canHandle | () | method |
override public function canHandle(context:GraphMLWriteContext, subject:Object):Boolean
Returns true
, unless subject
is null
.
Parameters
context:GraphMLWriteContext | |
subject:Object |
Boolean |
serializeContent | () | method |
override protected function serializeContent(context:GraphMLWriteContext, subject:Object, writer:IXmlWriter):void
Puts the given subject
into the List that was passed upon initialization, unless
it is already contained in the List.
Writes the corresponding list index as an attribute.
Parameters
context:GraphMLWriteContext | |
subject:Object | |
writer:IXmlWriter |