public class DataConfigNode extends Object implements ConfigNode
ConfigNode.Helpers
Modifier and Type | Field and Description |
---|---|
SimpleMap<String> |
attributes |
static SimpleMap<List<ConfigNode>> |
EMPTY |
SimpleMap<List<ConfigNode>> |
kids |
String |
name |
String |
textData |
empty_attrs, SUBSTITUTES
Constructor and Description |
---|
DataConfigNode(ConfigNode root) |
Modifier and Type | Method and Description |
---|---|
SimpleMap<String> |
attributes() |
ConfigNode |
child(String name) |
void |
forEachChild(Function<ConfigNode,Boolean> fun) |
List<ConfigNode> |
getAll(Predicate<ConfigNode> test,
Set<String> matchNames) |
List<ConfigNode> |
getAll(String name) |
String |
name() |
String |
subtituteVal(String s) |
String |
txt() |
public final String name
public final SimpleMap<List<ConfigNode>> kids
public final String textData
public static final SimpleMap<List<ConfigNode>> EMPTY
public DataConfigNode(ConfigNode root)
public String name()
name
in interface ConfigNode
public String txt()
txt
in interface ConfigNode
public SimpleMap<String> attributes()
attributes
in interface ConfigNode
public ConfigNode child(String name)
child
in interface ConfigNode
public List<ConfigNode> getAll(String name)
getAll
in interface ConfigNode
public List<ConfigNode> getAll(Predicate<ConfigNode> test, Set<String> matchNames)
getAll
in interface ConfigNode
public void forEachChild(Function<ConfigNode,Boolean> fun)
forEachChild
in interface ConfigNode
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.