org.oddjob.arooa.parsing
Interface ArooaContext

All Known Implementing Classes:
DesignSeedContext, HandlerOverrideContext, OverrideContext, RootContext, RuntimeOverrideContext, SessionOverrideContext

public interface ArooaContext

Provides a 'context' for parsing an element. An element is processed/parsed/ (ArooaHandlered) within an ArooaContext which is that elements parent context. This creates a RuntimeConfiguration for the element.

Once the RuntimeConfiguration has been created, a new context can be created which is the context of the element just processed.

The RuntimeConfiguration is then given the opportunity of providing an alternative context via the inherited {@link ParsingInterceptor#intercept(ArooaContext) method.

Author:
rob

Method Summary
 ArooaHandler getArooaHandler()
          Get the ArooHandler that will be used to process any child elements.
 ArooaType getArooaType()
           
 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.
 

Method Detail

getArooaType

ArooaType getArooaType()

getParent

ArooaContext getParent()
Get the parent ArooaContext

Returns:

getRuntime

RuntimeConfiguration getRuntime()
Get the current RuntimeConfiguration{} for this context.

Returns:
A RuntimeConfiguration. Never null.

getConfigurationNode

ConfigurationNode getConfigurationNode()
Get the ConfigurationNode for this context.

Returns:
A RuntimeNode. Never null.

getArooaHandler

ArooaHandler getArooaHandler()
Get the ArooHandler that will be used to process any child elements.

Returns:
An ArooaHandler. Never null.

getPrefixMappings

PrefixMappings getPrefixMappings()
Get the prefix mappings for this context.

Returns:

getSession

ArooaSession getSession()
Get the session for this context.

Returns: