public class DesignConfiguration extends java.lang.Object implements ArooaConfiguration
ArooaConfiguration
out of a
ParsableDesignInstance
so that a design can be parsed
with an ArooaParser
.Constructor and Description |
---|
DesignConfiguration(ParsableDesignInstance design) |
Modifier and Type | Method and Description |
---|---|
<P extends ParseContext<P>> |
parse(P parentContext)
Parse the encapsulated configuration.
|
public DesignConfiguration(ParsableDesignInstance design)
public <P extends ParseContext<P>> ConfigurationHandle<P> parse(P parentContext) throws ArooaParseException
ArooaConfiguration
parse
in interface ArooaConfiguration
P
- The type of the context in which parsing occurs.parentContext
- The context in which this configuration will be
parsed. This context will provide the
ArooaHandler
, and therefore
subsequent child contexts.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.ArooaParseException
- If parsing fails.