Package groovy.xml.slurpersupport
Class NodeParents
java.lang.Object
groovy.lang.GroovyObjectSupport
groovy.xml.slurpersupport.GPathResult
groovy.xml.slurpersupport.NodeChildren
groovy.xml.slurpersupport.NodeParents
- All Implemented Interfaces:
Buildable,GroovyObject,Writable,Iterable
Lazy evaluated representation of parent nodes without duplicates
-
Field Summary
Fields inherited from class groovy.xml.slurpersupport.GPathResult
name, namespaceMap, namespacePrefix, namespaceTagHints, parent -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class groovy.xml.slurpersupport.NodeChildren
appendNode, build, childNodes, find, findAll, iterator, parents, replaceBody, replaceNode, size, text, writeToMethods inherited from class groovy.xml.slurpersupport.GPathResult
breadthFirst, children, createIterator, declareNamespace, depthFirst, equals, getAt, getAt, getBody, getProperty, hashCode, isEmpty, leftShift, list, lookupNamespace, name, parent, plus, plus, pop, putAt, setMetaClass, setProperty, toBigDecimal, toBigInteger, toBoolean, toDouble, toFloat, toInteger, toLong, toString, toURI, toURLMethods inherited from class groovy.lang.GroovyObjectSupport
getMetaClassMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface groovy.lang.GroovyObject
invokeMethodMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
NodeParents
- Parameters:
parent- the GPathResult prior to the application of the expression creating this GPathResultnamespaceTagHints- the known tag to namespace mappings
-
-
Method Details
-
nodeIterator
- Overrides:
nodeIteratorin classNodeChildren
-