XMLToObjectDeserializer
| Kind of class: | public class |
|---|---|
| Package: | com.bourre.encoding |
| Inherits from: | none |
| Implements: | |
| Version: | 1.0 |
| Author: | Francis Bourre |
| Classpath: | com.bourre.encoding.XMLToObjectDeserializer |
| File last modified: | Monday, 24 November 2008, 11:36:48 |
Summary
Constructor
Class properties
- DEBUG_IDENTICAL_NODE_NAMES : Boolean
- PUSHINARRAY_IDENTICAL_NODE_NAMES : Boolean
- ATTRIBUTE_TARGETED_PROPERTY_NAME : String
- DESERIALIZE_ATTRIBUTES : Boolean
Instance properties
- pushInArray : Boolean
- deserializeAttributes : Boolean
Class methods
- stripSpaces (s:String) : String
- split (sE:String) : Array
Instance methods
- deserialize (serializedContent:Object, target:Object = null) : Object
- Lancement du parcours du xml
- deserializeNode (target:Object, node:XML) : Object
- addType (type:String, parsingMethod:Function) : void
- Add new type to deserializer
- getArguments (sE:String) : Array
- Explode string to arguments array.
- getNumber (node:XML) : Number
- getString (node:XML) : String
- getArray (node:XML) : Array
- getBoolean (node:XML) : Boolean
- getObject (node:XML) : Object
- getInstance (node:XML) : Object
- getPoint (node:XML) : Point
- getObjectWithAttributes (node:XML) : Object
Constructor
XMLToObjectDeserializer
public function XMLToObjectDeserializer (
)
Class properties
ATTRIBUTE_TARGETED_PROPERTY_NAME
public static ATTRIBUTE_TARGETED_PROPERTY_NAME:String = null
(read,write)
DEBUG_IDENTICAL_NODE_NAMES
public static DEBUG_IDENTICAL_NODE_NAMES:Boolean = false
(read,write)
DESERIALIZE_ATTRIBUTES
public static DESERIALIZE_ATTRIBUTES:Boolean = false
(read,write)
PUSHINARRAY_IDENTICAL_NODE_NAMES
public static PUSHINARRAY_IDENTICAL_NODE_NAMES:Boolean = true
(read,write)
Instance properties
deserializeAttributes
public deserializeAttributes:Boolean
(read,write)
pushInArray
public pushInArray:Boolean
(read,write)
Class methods
split
public static function split (
sE:String) : Array
stripSpaces
public static function stripSpaces (
s:String) : String
Instance methods
addType
public function addType (
type:String,
parsingMethod:Function) : void
Add new type to deserializer
deserialize
public function deserialize (
serializedContent:Object,
target:Object = null) : Object
Lancement du parcours du xml
Specified by:
deserializeNode
public function deserializeNode (
target:Object,
node:XML) : Object
getArguments
public function getArguments (
sE:String) : Array
Explode string to arguments array.
getArray
public function getArray (
node:XML) : Array
getBoolean
public function getBoolean (
node:XML) : Boolean
getInstance
public function getInstance (
node:XML) : Object
getNumber
public function getNumber (
node:XML) : Number
getObject
public function getObject (
node:XML) : Object
getObjectWithAttributes
public function getObjectWithAttributes (
node:XML) : Object
getPoint
public function getPoint (
node:XML) : Point
getString
public function getString (
node:XML) : String