Class NodeParents

  • All Implemented Interfaces:
    groovy.lang.Buildable, groovy.lang.GroovyObject, groovy.lang.Writable, Iterable

    public class NodeParents
    extends NodeChildren
    Lazy evaluated representation of parent nodes without duplicates
    • Constructor Detail

      • NodeParents

        public NodeParents​(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