public interface ConfigurationTree
| Modifier and Type | Method and Description |
|---|---|
List<ConfigurationTree> |
getChildConfigurations(String name)
Get the child configuration(s) for a name.
|
Set<String> |
getChildNames()
Get the names of child configurations.
|
ArooaElement |
getElement()
Get the element of this configuration.
|
Optional<String> |
getText()
Get the element text, if there is any.
|
ArooaConfiguration |
toConfiguration(SaveOperation saveMethod)
Map to an ArooaConfiguration that can be parsed with an
ArooaParser. |
ArooaElement getElement()
Set<String> getChildNames()
List<ConfigurationTree> getChildConfigurations(String name)
name - The name of the child(ren)ArooaConfiguration toConfiguration(SaveOperation saveMethod)
ArooaParser.saveMethod - Provide a way of saving changes to the configuration back.ArooaConfiguration.Copyright © 2023. All rights reserved.