public interface ConfigurationTree
Modifier and Type | Method and Description |
---|---|
java.util.List<ConfigurationTree> |
getChildConfigurations(java.lang.String name)
Get the child configuration(s) for a name.
|
java.util.Set<java.lang.String> |
getChildNames()
Get the names of child configurations.
|
ArooaElement |
getElement()
Get the element of this configuration.
|
java.util.Optional<java.lang.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()
java.util.Optional<java.lang.String> getText()
java.util.Set<java.lang.String> getChildNames()
java.util.List<ConfigurationTree> getChildConfigurations(java.lang.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
.