public class ElementConfiguration extends Object implements ArooaConfiguration
ArooaConfiguration out of a single element.
Used for creating new configurations.| Constructor and Description |
|---|
ElementConfiguration(ArooaElement element) |
| Modifier and Type | Method and Description |
|---|---|
<P extends ParseContext<P>> |
parse(P parentContext)
Parse the encapsulated configuration.
|
public ElementConfiguration(ArooaElement element)
public <P extends ParseContext<P>> ConfigurationHandle<P> parse(P parentContext) throws ArooaParseException
ArooaConfigurationparse in interface ArooaConfigurationP - 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.Copyright © 2023. All rights reserved.