Package | mx.rpc.xml |
Class | public class SimpleXMLEncoder |
Inheritance | SimpleXMLEncoder ![]() |
Method | Defined By | ||
---|---|---|---|
SimpleXMLEncoder(myXML:XMLDocument)
| SimpleXMLEncoder | ||
[static]
| SimpleXMLEncoder | ||
parentNode - optional, an XMLNode under which to
put the encoded value.
| SimpleXMLEncoder | ||
![]() |
Indicates whether an object has a specified property defined.
| Object | |
![]() |
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter.
| Object | |
![]() |
Indicates whether the specified property exists and is enumerable.
| Object | |
![]() |
Sets the availability of a dynamic property for loop operations.
| Object | |
![]() |
Returns the string representation of the specified object.
| Object | |
![]() |
Returns the primitive value of the specified object.
| Object |
SimpleXMLEncoder | () | Constructor |
encodeDate | () | method |
public static function encodeDate(rawDate:Date, dateType:String):String
Parameters
rawDate:Date |
|
dateType:String |
String |
encodeValue | () | method |
public function encodeValue(obj:Object, qname:QName, parentNode:XMLNode):XMLNode
parentNode - optional, an XMLNode under which to put the encoded value. If this is present, we will be able to use namespace prefixes already defined above the encoded object - if not, a well-formed XML document including all NS declarations necessary is returned.
Parameters
obj:Object |
|
qname:QName |
|
parentNode:XMLNode |
XMLNode |