Package org.oddjob.arooa.design
Class DesignSeedContext
java.lang.Object
org.oddjob.arooa.design.DesignSeedContext
- All Implemented Interfaces:
ArooaContext,ParseContext<ArooaContext>
Used when creating a context for a design because no
ArooaHandler
is needed.- Author:
- rob
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet theArooaHandlerthat will be used to process any child elements.Get the type of bean or property this is a context for (a component or a value)Get theConfigurationNodefor this context.Get the parentArooaContextGet the prefix mappings for this context.Get the currentRuntimeConfigurationfor this context.Get the session for this context.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.oddjob.arooa.parsing.ArooaContext
destroy, getElementHandler
-
Constructor Details
-
DesignSeedContext
-
-
Method Details
-
getArooaType
Description copied from interface:ArooaContextGet the type of bean or property this is a context for (a component or a value)- Specified by:
getArooaTypein interfaceArooaContext- Returns:
- The type. Never null.
-
getParent
Description copied from interface:ArooaContextGet the parentArooaContext- Specified by:
getParentin interfaceArooaContext- Specified by:
getParentin interfaceParseContext<ArooaContext>- Returns:
- The parent context. This will be null for the root context.
-
getArooaHandler
Description copied from interface:ArooaContextGet theArooaHandlerthat will be used to process any child elements.- Specified by:
getArooaHandlerin interfaceArooaContext- Returns:
- An ArooaHandler. Never null.
-
getConfigurationNode
Description copied from interface:ArooaContextGet theConfigurationNodefor this context.- Specified by:
getConfigurationNodein interfaceArooaContext- Specified by:
getConfigurationNodein interfaceParseContext<ArooaContext>- Returns:
- A RuntimeNode. Never null.
-
getPrefixMappings
Description copied from interface:ArooaContextGet the prefix mappings for this context.- Specified by:
getPrefixMappingsin interfaceArooaContext- Specified by:
getPrefixMappingsin interfaceParseContext<ArooaContext>- Returns:
- The prefix mappings.
-
getRuntime
Description copied from interface:ArooaContextGet the currentRuntimeConfigurationfor this context.- Specified by:
getRuntimein interfaceArooaContext- Returns:
- A RuntimeConfiguration. This may be null for the root context.
-
getSession
Description copied from interface:ArooaContextGet the session for this context.- Specified by:
getSessionin interfaceArooaContext- Returns:
- The session. Never null.
-