public interface ArooaConfiguration
ParseContext
and uses that context to provide
a ConfigurationHandle
.
The result is typically generated by iterating over or parsing
whatever the configuration encapsulates using as its
starting point the ElementHandler
provided by the parent context.
An ArooaConfiguration is intended to be used in conjunction with
an ArooaParser
which provides the context.
Modifier and Type | Method and Description |
---|---|
<P extends ParseContext<P>> |
parse(P parseParentContext)
Parse the encapsulated configuration.
|
<P extends ParseContext<P>> ConfigurationHandle<P> parse(P parseParentContext) throws ArooaParseException
P
- The type of the context in which parsing occurs.parseParentContext
- 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.