Class NodeChildren

java.lang.Object
groovy.lang.GroovyObjectSupport
groovy.xml.slurpersupport.GPathResult
groovy.xml.slurpersupport.NodeChildren
All Implemented Interfaces:
groovy.lang.Buildable, groovy.lang.GroovyObject, groovy.lang.Writable, Iterable
Direct Known Subclasses:
Attributes, FilteredNodeChildren, NodeParents

public class NodeChildren
extends GPathResult
Lazy evaluated representation of child nodes.
  • Constructor Details

    • NodeChildren

      public NodeChildren​(GPathResult parent, String name, String namespacePrefix, Map<String,​String> namespaceTagHints)
      Parameters:
      parent - the GPathResult prior to the application of the expression creating this GPathResult
      name - if the GPathResult corresponds to something with a name, e.g. a node
      namespacePrefix - the namespace prefix if any
      namespaceTagHints - the known tag to namespace mappings
    • NodeChildren

      public NodeChildren​(GPathResult parent, String name, Map<String,​String> namespaceTagHints)
      Parameters:
      parent - the GPathResult prior to the application of the expression creating this GPathResult
      name - if the GPathResult corresponds to something with a name, e.g. a node
      namespaceTagHints - the known tag to namespace mappings
    • NodeChildren

      public NodeChildren​(GPathResult parent, Map<String,​String> namespaceTagHints)
      Parameters:
      parent - the GPathResult prior to the application of the expression creating this GPathResult
      namespaceTagHints - the known tag to namespace mappings
  • Method Details