Package org.apache.solr.util
Class DOMConfigNode
- java.lang.Object
-
- org.apache.solr.util.DOMConfigNode
-
- All Implemented Interfaces:
ConfigNode
public class DOMConfigNode extends Object implements ConfigNode
Read using DOM
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.solr.common.ConfigNode
ConfigNode.Helpers
-
-
Field Summary
-
Fields inherited from interface org.apache.solr.common.ConfigNode
empty_attrs, SUBSTITUTES
-
-
Constructor Summary
Constructors Constructor Description DOMConfigNode(Node node)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SimpleMap<String>
attributes()
ConfigNode
child(String name)
void
forEachChild(Function<ConfigNode,Boolean> fun)
List<ConfigNode>
getAll(String name)
String
name()
String
txt()
-
-
-
Constructor Detail
-
DOMConfigNode
public DOMConfigNode(Node node)
-
-
Method Detail
-
name
public String name()
- Specified by:
name
in interfaceConfigNode
-
txt
public String txt()
- Specified by:
txt
in interfaceConfigNode
-
attributes
public SimpleMap<String> attributes()
- Specified by:
attributes
in interfaceConfigNode
-
child
public ConfigNode child(String name)
- Specified by:
child
in interfaceConfigNode
-
getAll
public List<ConfigNode> getAll(String name)
- Specified by:
getAll
in interfaceConfigNode
-
forEachChild
public void forEachChild(Function<ConfigNode,Boolean> fun)
- Specified by:
forEachChild
in interfaceConfigNode
-
-