XMLToObjectDeserializer

Kind of class:class
Inherits from:AbstractXMLToObjectDeserializer
Version:1.0
Author:Francis Bourre
Classpath:com.bourre.data.libs.XMLToObjectDeserializer
File last modified:Wednesday, 31 October 2007, 07:35:29

Constructor

XMLToObjectDeserializer

function XMLToObjectDeserializer (
)

Class properties

ATTRIBUTE_TARGETED_PROPERTY_NAME

static ATTRIBUTE_TARGETED_PROPERTY_NAME:String = null
(read,write)

DEBUG_IDENTICAL_NODE_NAMES

static DEBUG_IDENTICAL_NODE_NAMES:Boolean = false
(read,write)

DESERIALIZE_ATTRIBUTES

static DESERIALIZE_ATTRIBUTES:Boolean = false
(read,write)

PUSHINARRAY_IDENTICAL_NODE_NAMES

static PUSHINARRAY_IDENTICAL_NODE_NAMES:Boolean = false
(read,write)

Instance properties

deserializeAttributes

deserializeAttributes:Boolean
(read,write)

pushInArray

pushInArray:Boolean
(read,write)

Class methods

split

static function split (
sE:String) : Array

stripSpaces

static function stripSpaces (
s:String) : String

Instance methods

addType

function addType (
type:String, parsingMethod:Function) : Void
Add new type to deserializer

deserialize

function deserialize (
node:XMLNode) : Void
Deserialize XMLToObject's node.

getArguments

function getArguments (
sE:String) : Array
Explode string to arguments array.

getArray

function getArray (
node:XMLNode) : Array

getBoolean

function getBoolean (
node:XMLNode) : Boolean

getInstance

function getInstance (
node:XMLNode) : Object

getNumber

function getNumber (
node:XMLNode) : Number

getObject

function getObject (
node:XMLNode) : Object

getObjectWithAttributes

function getObjectWithAttributes (
node:XMLNode) : Object

getPoint

function getPoint (
node:XMLNode) : Point

getString

function getString (
node:XMLNode) : String

removeType

function removeType (
type:String) : Void
Remove type to deserializer

toString

function toString (
) : String
Returns the string representation of this instance.
Returns:
the string representation of this instance