org.oddjob.arooa.design
Class DesignInstanceContext

java.lang.Object
  extended by org.oddjob.arooa.design.DesignInstanceContext
All Implemented Interfaces:
ArooaContext

public class DesignInstanceContext
extends Object
implements ArooaContext

An ArooaContext for a ParsableDesignInstance

Author:
rob

Constructor Summary
DesignInstanceContext(ParsableDesignInstance instance, ArooaClass classIdentifier, ArooaContext parent)
          Constructor.
 
Method Summary
 ArooaHandler getArooaHandler()
          Get the ArooHandler that will be used to process any child elements.
 ArooaType getArooaType()
          Get the type of bean this is.
 ConfigurationNode getConfigurationNode()
          Get the ConfigurationNode for this context.
 ArooaContext getParent()
          Get the parent ArooaContext
 PrefixMappings getPrefixMappings()
          Get the prefix mappings for this context.
 RuntimeConfiguration getRuntime()
          Get the current RuntimeConfiguration{} for this context.
 ArooaSession getSession()
          Get the session for this context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DesignInstanceContext

public DesignInstanceContext(ParsableDesignInstance instance,
                             ArooaClass classIdentifier,
                             ArooaContext parent)
Constructor.

Parameters:
instance -
classIdentifier -
parent -
Method Detail

getArooaType

public ArooaType getArooaType()
Description copied from interface: ArooaContext
Get the type of bean this is.

Specified by:
getArooaType in interface ArooaContext
Returns:
The type. Never null.

getParent

public ArooaContext getParent()
Description copied from interface: ArooaContext
Get the parent ArooaContext

Specified by:
getParent in interface ArooaContext
Returns:
The parent context. This will be null for the root context.

getRuntime

public RuntimeConfiguration getRuntime()
Description copied from interface: ArooaContext
Get the current RuntimeConfiguration{} for this context.

Specified by:
getRuntime in interface ArooaContext
Returns:
A RuntimeConfiguration. This may be null for the root context.

getPrefixMappings

public PrefixMappings getPrefixMappings()
Description copied from interface: ArooaContext
Get the prefix mappings for this context.

Specified by:
getPrefixMappings in interface ArooaContext
Returns:

getSession

public ArooaSession getSession()
Description copied from interface: ArooaContext
Get the session for this context.

Specified by:
getSession in interface ArooaContext
Returns:

getConfigurationNode

public ConfigurationNode getConfigurationNode()
Description copied from interface: ArooaContext
Get the ConfigurationNode for this context.

Specified by:
getConfigurationNode in interface ArooaContext
Returns:
A RuntimeNode. Never null.

getArooaHandler

public ArooaHandler getArooaHandler()
Description copied from interface: ArooaContext
Get the ArooHandler that will be used to process any child elements.

Specified by:
getArooaHandler in interface ArooaContext
Returns:
An ArooaHandler. Never null.