org.oddjob.arooa.design
Class DesignSeedContext

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

public class DesignSeedContext
extends Object
implements ArooaContext

Used when creating a context for a design because no ArooaHandler is needed.

Author:
rob

Constructor Summary
DesignSeedContext(ArooaType type, ArooaSession session)
           
 
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

DesignSeedContext

public DesignSeedContext(ArooaType type,
                         ArooaSession session)
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.

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.

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.

getPrefixMappings

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

Specified by:
getPrefixMappings in interface ArooaContext
Returns:

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.

getSession

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

Specified by:
getSession in interface ArooaContext
Returns: