Package org.apache.solr.util
Class DataConfigNode
- java.lang.Object
-
- org.apache.solr.util.DataConfigNode
-
- All Implemented Interfaces:
org.apache.solr.common.ConfigNode
public class DataConfigNode extends Object implements org.apache.solr.common.ConfigNode
ConfigNode impl that copies and maintains data internally from DOM
-
-
Field Summary
Fields Modifier and Type Field Description org.apache.solr.cluster.api.SimpleMap<String>
attributes
static org.apache.solr.cluster.api.SimpleMap<List<org.apache.solr.common.ConfigNode>>
EMPTY
org.apache.solr.cluster.api.SimpleMap<List<org.apache.solr.common.ConfigNode>>
kids
String
name
String
textData
-
Constructor Summary
Constructors Constructor Description DataConfigNode(org.apache.solr.common.ConfigNode root)
-
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)
List<org.apache.solr.common.ConfigNode>
getAll(Predicate<org.apache.solr.common.ConfigNode> test, Set<String> matchNames)
String
name()
String
subtituteVal(String s)
String
txt()
-
-
-
Field Detail
-
name
public final String name
-
attributes
public final org.apache.solr.cluster.api.SimpleMap<String> attributes
-
kids
public final org.apache.solr.cluster.api.SimpleMap<List<org.apache.solr.common.ConfigNode>> kids
-
textData
public final String textData
-
EMPTY
public static final org.apache.solr.cluster.api.SimpleMap<List<org.apache.solr.common.ConfigNode>> EMPTY
-
-
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
-
getAll
public List<org.apache.solr.common.ConfigNode> getAll(Predicate<org.apache.solr.common.ConfigNode> test, Set<String> matchNames)
- Specified by:
getAll
in interfaceorg.apache.solr.common.ConfigNode
-
-