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
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.apache.solr.common.ConfigNode

    org.apache.solr.common.ConfigNode.Helpers
  • Field Summary

    Fields inherited from interface org.apache.solr.common.ConfigNode

    EMPTY, SUBSTITUTES
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    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)
     
     
    txt()
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.solr.common.ConfigNode

    attr, attr, attributesExcept, attrRequired, boolAttr, boolVal, child, childNodesToNamedList, childRequired, doubleVal, exists, get, get, get, getAll, intAttr, intVal, isNull, txt
  • Constructor Details

    • DOMConfigNode

      public DOMConfigNode(Node node)
  • Method Details

    • 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 Map<String,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
    • forEachChild

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