Packageorg.orpheus.xml.bind.impl
Classpublic class EvaluationContext
ImplementsIEvaluationContext

A generic instance of IEvaluationContext that is used as the default context by XMLService.

Author: Andrew Lewisohn
Version: $Revision: 31 $, $Date: 2009-02-12 17:01:41 -0500 (Thu, 12 Feb 2009) $, $Author: alewisohn $
Since: 0.1

See also

org.orpheus.xml.bind.XMLService


Public Properties
 PropertyDefined by
  constants : MarshallerConstants
An enumeration of Annotation type names.
EvaluationContext
  datatypes : MarshallerDatatypes
An enumeration of simple-type qualified names.
EvaluationContext
  typeMarshaller : TypeMarshaller
The class used for basic type marshalling/unmarshalling.
EvaluationContext
Public Methods
 MethodDefined by
  
Constructor.
EvaluationContext
  
getAnnotation(name:String):Class
Retrives the Annotation type definition from the annotation cache.
EvaluationContext
  
Retrieves an instance of IMarshaller.
EvaluationContext
  
Retrieves an instance of IUnmarshaller.
EvaluationContext
  
registerAnnotation(annotationClass:Class):void
Registers an Annotation.
EvaluationContext
Property detail
constantsproperty
constants:MarshallerConstants  [read-write]

An enumeration of Annotation type names.

Implementation
    public function get constants():MarshallerConstants
    public function set constants(value:MarshallerConstants):void
datatypesproperty 
datatypes:MarshallerDatatypes  [read-write]

An enumeration of simple-type qualified names.

Implementation
    public function get datatypes():MarshallerDatatypes
    public function set datatypes(value:MarshallerDatatypes):void
typeMarshallerproperty 
typeMarshaller:TypeMarshaller  [read-write]

The class used for basic type marshalling/unmarshalling.

Implementation
    public function get typeMarshaller():TypeMarshaller
    public function set typeMarshaller(value:TypeMarshaller):void
Constructor detail
EvaluationContext()constructor
public function EvaluationContext()

Constructor.

Method detail
getAnnotation()method
public function getAnnotation(name:String):Class

Retrives the Annotation type definition from the annotation cache.

Parameters
name:String — The key used to register the Annotation.

Returns
Class
getMarshaller()method 
public function getMarshaller():IMarshaller

Retrieves an instance of IMarshaller.

Returns
IMarshaller
getUnmarshaller()method 
public function getUnmarshaller():IUnmarshaller

Retrieves an instance of IUnmarshaller.

Returns
IUnmarshaller
registerAnnotation()method 
public function registerAnnotation(annotationClass:Class):void

Registers an Annotation. The annotationClass must extend AbstractAnnotation

Parameters
annotationClass:Class — A class that extends AbstractAnnotation.