Class 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 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
    • Constructor Detail

      • DataConfigNode

        public DataConfigNode​(org.apache.solr.common.ConfigNode root)
    • Method Detail

      • name

        public String name()
        Specified by:
        name in interface org.apache.solr.common.ConfigNode
      • txt

        public String txt()
        Specified by:
        txt in interface org.apache.solr.common.ConfigNode
      • attributes

        public org.apache.solr.cluster.api.SimpleMap<String> attributes()
        Specified by:
        attributes in interface org.apache.solr.common.ConfigNode
      • child

        public org.apache.solr.common.ConfigNode child​(String name)
        Specified by:
        child in interface org.apache.solr.common.ConfigNode
      • getAll

        public List<org.apache.solr.common.ConfigNode> getAll​(String name)
        Specified by:
        getAll in interface org.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 interface org.apache.solr.common.ConfigNode
      • forEachChild

        public void forEachChild​(Function<org.apache.solr.common.ConfigNode,​Boolean> fun)
        Specified by:
        forEachChild in interface org.apache.solr.common.ConfigNode