public class RootContext extends java.lang.Object implements ArooaContext
Constructor and Description |
---|
RootContext(ArooaType type,
ArooaSession session,
ArooaHandler rootHandler)
Constructor.
|
RootContext(ArooaType type,
PrefixMappings prefixMappings,
ArooaHandler rootHandler) |
Modifier and Type | Method and Description |
---|---|
ArooaHandler |
getArooaHandler()
Get the
ArooaHandler that will be used to process any child
elements. |
ArooaType |
getArooaType()
Get the type of bean or property this is a context for (a component
or a value)
|
ConfigurationNode<ArooaContext> |
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.
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
destroy, getElementHandler
public RootContext(ArooaType type, ArooaSession session, ArooaHandler rootHandler)
type
- The type. May be null depending on parser
(XMLArooaParser for instance).session
- The session. Must be null depending on parser.rootHandler
- The handler. Must not be null.public RootContext(ArooaType type, PrefixMappings prefixMappings, ArooaHandler rootHandler)
public ArooaType getArooaType()
ArooaContext
getArooaType
in interface ArooaContext
public ArooaContext getParent()
ArooaContext
ArooaContext
getParent
in interface ArooaContext
getParent
in interface ParseContext<ArooaContext>
public RuntimeConfiguration getRuntime()
ArooaContext
RuntimeConfiguration
for this context.getRuntime
in interface ArooaContext
public PrefixMappings getPrefixMappings()
ArooaContext
getPrefixMappings
in interface ArooaContext
getPrefixMappings
in interface ParseContext<ArooaContext>
public ArooaSession getSession()
ArooaContext
getSession
in interface ArooaContext
public ConfigurationNode<ArooaContext> getConfigurationNode()
ArooaContext
ConfigurationNode
for this context.getConfigurationNode
in interface ArooaContext
getConfigurationNode
in interface ParseContext<ArooaContext>
public ArooaHandler getArooaHandler()
ArooaContext
ArooaHandler
that will be used to process any child
elements.getArooaHandler
in interface ArooaContext
public java.lang.String toString()
toString
in class java.lang.Object