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 ConfigNodepublic String txt()
txt in interface ConfigNodepublic SimpleMap<String> attributes()
attributes in interface ConfigNodepublic ConfigNode child(String name)
child in interface ConfigNodepublic List<ConfigNode> getAll(String name)
getAll in interface ConfigNodepublic List<ConfigNode> getAll(Predicate<ConfigNode> test, Set<String> matchNames)
getAll in interface ConfigNodepublic void forEachChild(Function<ConfigNode,Boolean> fun)
forEachChild in interface ConfigNodeCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.