Packageorg.orpheus.xml.bind.impl
Classpublic class UnmarshallerImpl
InheritanceUnmarshallerImpl Inheritance AbstractProcessor
ImplementsIUnmarshaller

A concrete implementation of the IUnmarshaller interface.

Author: Andrew Lewisohn
Version: $Revision: 30 $, $Date: 2009-02-12 16:43:08 -0500 (Thu, 12 Feb 2009) $, $Author: alewisohn $
Since: 0.1



Public Properties
 PropertyDefined by
 Inheritedconstants : MarshallerConstants
The Annotation constants that are available in the current context.
AbstractProcessor
 Inheriteddatatypes : MarshallerDatatypes
The Flex datatypes that are available in the current context.
AbstractProcessor
 InheritedtypeMarshaller : TypeMarshaller
The instance of TypeMarshaller available in the current context.
AbstractProcessor
Protected Properties
 PropertyDefined by
 Inheritedcontext : IEvaluationContext
Reference to the parent context.
AbstractProcessor
 InheritedobjectRegistry : ObjectRegistry
Reference to the Singleton instance of the ObjectRegistry
AbstractProcessor
 InheritedtypeRegistry : TypeRegistry
Reference to the Singleton instance of the TypeRegistry.
AbstractProcessor
Public Methods
 MethodDefined by
  
Constructor.
UnmarshallerImpl
  
unmarshal(xml:*, type:Class = null):Object
Convert an XML definition into an ActionScript class.
UnmarshallerImpl
Protected Methods
 MethodDefined by
 Inherited
getAttributeFromNode(name:*, node:XML):String
A utility method to determine whether an attribute actually exists on a given node.
AbstractProcessor
Constructor detail
UnmarshallerImpl()constructor
public function UnmarshallerImpl(context:IEvaluationContext)

Constructor.

Parameters
context:IEvaluationContext — The parent context in which the unmarshaller is executing.
Method detail
unmarshal()method
public function unmarshal(xml:*, type:Class = null):Object

Convert an XML definition into an ActionScript class.

Parameters
xml:* — An XML node.
 
type:Class (default = null) — The explicit Class to create from the XML definition.

Returns
Object