Packageorg.orpheus.xml.bind.helpers
Classpublic class AbstractProcessor
SubclassesMarshallerImpl, UnmarshallerImpl

The Base class for concrete instances of IUnmarshaller or IMarshaller.

If you want to write your own concrete instance of IUnmarshaller or IMarshaller, it is recommended that you extend this class as it contains helpful base functionality.

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
  constants : MarshallerConstants
[read-only] The Annotation constants that are available in the current context.
AbstractProcessor
  datatypes : MarshallerDatatypes
[read-only] The Flex datatypes that are available in the current context.
AbstractProcessor
  typeMarshaller : TypeMarshaller
[read-only] The instance of TypeMarshaller available in the current context.
AbstractProcessor
Protected Properties
 PropertyDefined by
  context : IEvaluationContext
Reference to the parent context.
AbstractProcessor
  objectRegistry : ObjectRegistry
Reference to the Singleton instance of the ObjectRegistry
AbstractProcessor
  typeRegistry : TypeRegistry
Reference to the Singleton instance of the TypeRegistry.
AbstractProcessor
Public Methods
 MethodDefined by
  
Constructor.
AbstractProcessor
Protected Methods
 MethodDefined by
  
getAttributeFromNode(name:*, node:XML):String
A utility method to determine whether an attribute actually exists on a given node.
AbstractProcessor
Property detail
constantsproperty
constants:MarshallerConstants  [read-only]

The Annotation constants that are available in the current context.

Implementation
    public function get constants():MarshallerConstants
contextproperty 
protected var context:IEvaluationContext

Reference to the parent context.

datatypesproperty 
datatypes:MarshallerDatatypes  [read-only]

The Flex datatypes that are available in the current context.

Implementation
    public function get datatypes():MarshallerDatatypes
objectRegistryproperty 
protected var objectRegistry:ObjectRegistry

Reference to the Singleton instance of the ObjectRegistry

typeMarshallerproperty 
typeMarshaller:TypeMarshaller  [read-only]

The instance of TypeMarshaller available in the current context.

Implementation
    public function get typeMarshaller():TypeMarshaller
typeRegistryproperty 
protected var typeRegistry:TypeRegistry

Reference to the Singleton instance of the TypeRegistry.

Constructor detail
AbstractProcessor()constructor
public function AbstractProcessor(context:IEvaluationContext)

Constructor.

Parameters
context:IEvaluationContext — The parent context in which the processor is executing.
Method detail
getAttributeFromNode()method
protected function getAttributeFromNode(name:*, node:XML):String

A utility method to determine whether an attribute actually exists on a given node.

Parameters
name:*
 
node:XML

Returns
String