Package org.apache.solr.util
Class DOMConfigNode
- java.lang.Object
-
- org.apache.solr.util.DOMConfigNode
-
- All Implemented Interfaces:
org.apache.solr.common.ConfigNode
public class DOMConfigNode extends Object implements org.apache.solr.common.ConfigNode
Read using DOM
-
-
Constructor Summary
Constructors Constructor Description DOMConfigNode(Node node)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.solr.cluster.api.SimpleMap<String>
attributes()
org.apache.solr.common.ConfigNode
child(String name)
void
forEachChild(Function<org.apache.solr.common.ConfigNode,Boolean> fun)
List<org.apache.solr.common.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 interfaceorg.apache.solr.common.ConfigNode
-
txt
public String txt()
- Specified by:
txt
in interfaceorg.apache.solr.common.ConfigNode
-
attributes
public org.apache.solr.cluster.api.SimpleMap<String> attributes()
- Specified by:
attributes
in interfaceorg.apache.solr.common.ConfigNode
-
child
public org.apache.solr.common.ConfigNode child(String name)
- Specified by:
child
in interfaceorg.apache.solr.common.ConfigNode
-
getAll
public List<org.apache.solr.common.ConfigNode> getAll(String name)
- Specified by:
getAll
in interfaceorg.apache.solr.common.ConfigNode
-
-