Class NoChildren

java.lang.Object
groovy.lang.GroovyObjectSupport
groovy.util.slurpersupport.GPathResult
groovy.util.slurpersupport.NoChildren
All Implemented Interfaces:
groovy.lang.Buildable, groovy.lang.GroovyObject, groovy.lang.Writable, Iterable

@Deprecated
public class NoChildren
extends GPathResult
Deprecated.
Lazy evaluated representation of a GPath expression returning no children. As this class represents a GPath expression with no results, all methods are either NOPs or return an empty result.
  • Constructor Details

    • NoChildren

      public NoChildren​(GPathResult parent, String name, Map<String,​String> namespaceTagHints)
      Deprecated.
      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
  • Method Details