public class ConfigurationTreeArooaParser extends java.lang.Object implements ArooaParser<SimpleParseContext>
ArooaConfiguration
into an ConfigurationTree
.Constructor and Description |
---|
ConfigurationTreeArooaParser(NamespaceMappings namespaceMappings) |
ConfigurationTreeArooaParser(NamespaceMappings namespaceMappings,
java.util.function.Consumer<ConfigurationTree> treeConsumer) |
Modifier and Type | Method and Description |
---|---|
ConfigurationTree |
getConfigurationTree() |
ConfigurationHandle<SimpleParseContext> |
parse(ArooaConfiguration configuration)
Parse an
ArooaConfiguration . |
public ConfigurationTreeArooaParser(NamespaceMappings namespaceMappings)
public ConfigurationTreeArooaParser(NamespaceMappings namespaceMappings, java.util.function.Consumer<ConfigurationTree> treeConsumer)
public ConfigurationHandle<SimpleParseContext> parse(ArooaConfiguration configuration) throws ArooaParseException
ArooaParser
ArooaConfiguration
.parse
in interface ArooaParser<SimpleParseContext>
configuration
- The configuration.ConfigurationHandle
.ArooaParseException
- If parsing fails.public ConfigurationTree getConfigurationTree()