|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.oddjob.arooa.parsing.RootContext
public class RootContext
A Context for the parsing. This context is kind of like a seed context from which everything grows. It has no RuntimeConfiguration or RuntimeNode as these require the document node of the configuration to be parsed.
| Constructor Summary | |
|---|---|
RootContext(ArooaType type,
ArooaSession session,
ArooaHandler rootHandler)
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 |
|---|
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.| Method Detail |
|---|
public ArooaType getArooaType()
ArooaContext
getArooaType in interface ArooaContextpublic ArooaContext getParent()
ArooaContextArooaContext
getParent in interface ArooaContextpublic RuntimeConfiguration getRuntime()
ArooaContext
getRuntime in interface ArooaContextpublic PrefixMappings getPrefixMappings()
ArooaContext
getPrefixMappings in interface ArooaContextpublic ArooaSession getSession()
ArooaContext
getSession in interface ArooaContextpublic ConfigurationNode getConfigurationNode()
ArooaContextConfigurationNode for this context.
getConfigurationNode in interface ArooaContextpublic ArooaHandler getArooaHandler()
ArooaContextArooHandler that will be used to process any child
elements.
getArooaHandler in interface ArooaContext
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||