public class RootContext extends 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.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdestroy, getElementHandlerpublic 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()
ArooaContextgetArooaType in interface ArooaContextpublic ArooaContext getParent()
ArooaContextArooaContextgetParent in interface ArooaContextgetParent in interface ParseContext<ArooaContext>public RuntimeConfiguration getRuntime()
ArooaContextRuntimeConfiguration for this context.getRuntime in interface ArooaContextpublic PrefixMappings getPrefixMappings()
ArooaContextgetPrefixMappings in interface ArooaContextgetPrefixMappings in interface ParseContext<ArooaContext>public ArooaSession getSession()
ArooaContextgetSession in interface ArooaContextpublic ConfigurationNode<ArooaContext> getConfigurationNode()
ArooaContextConfigurationNode for this context.getConfigurationNode in interface ArooaContextgetConfigurationNode in interface ParseContext<ArooaContext>public ArooaHandler getArooaHandler()
ArooaContextArooaHandler that will be used to process any child
elements.getArooaHandler in interface ArooaContextCopyright © 2023. All rights reserved.