Package org.oddjob.arooa.design
Class DesignConfiguration
java.lang.Object
org.oddjob.arooa.design.DesignConfiguration
- All Implemented Interfaces:
ArooaConfiguration
Creates an
ArooaConfiguration out of a
ParsableDesignInstance so that a design can be parsed
with an ArooaParser.- Author:
- rob
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<P extends ParseContext<P>>
ConfigurationHandle<P> parse(P parentContext) Parse the encapsulated configuration.
-
Constructor Details
-
DesignConfiguration
-
-
Method Details
-
parse
public <P extends ParseContext<P>> ConfigurationHandle<P> parse(P parentContext) throws ArooaParseException Description copied from interface:ArooaConfigurationParse the encapsulated configuration.- Specified by:
parsein interfaceArooaConfiguration- Type Parameters:
P- The type of the context in which parsing occurs.- Parameters:
parentContext- The context in which this configuration will be parsed. This context will provide theArooaHandler, and therefore subsequent child contexts.- Returns:
- A
ConfigurationHandle. The handle provides access to the context created as the result of the parse and a way of saving this context back into the configuration. - Throws:
ArooaParseException- If parsing fails.
-