Packageorg.orpheus.xml.bind
Interfacepublic interface IEvaluationContext
ImplementorsEvaluationContext

The IEvaluationContext interface is the contract for any concrete evaluation context utilized by an instance of 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.EvaluationContext
org.orpheus.xml.bind.XMLService


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

An enumeration of Annotation type names.

Implementation
    public function get constants():MarshallerConstants
datatypesproperty 
datatypes:MarshallerDatatypes  [read-only]

An enumeration of simple-type qualified names.

Implementation
    public function get datatypes():MarshallerDatatypes
typeMarshallerproperty 
typeMarshaller:TypeMarshaller  [read-only]

The class used for basic type marshalling/unmarshalling.

Implementation
    public function get typeMarshaller():TypeMarshaller
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.

Throws