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
 
 public class NodeParents extends NodeChildren Lazy evaluated representation of parent nodes without duplicates
- 
- 
Field Summary- 
Fields inherited from class groovy.xml.slurpersupport.GPathResultname, namespaceMap, namespacePrefix, namespaceTagHints, parent
 
- 
 - 
Constructor SummaryConstructors Constructor Description NodeParents(GPathResult parent, Map<String,String> namespaceTagHints)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description IteratornodeIterator()- 
Methods inherited from class groovy.xml.slurpersupport.NodeChildrenappendNode, build, childNodes, find, findAll, iterator, parents, replaceBody, replaceNode, size, text, writeTo
 - 
Methods inherited from class groovy.xml.slurpersupport.GPathResultbreadthFirst, children, createIterator, declareNamespace, depthFirst, equals, getAt, getAt, getBody, getProperty, hashCode, isEmpty, leftShift, list, lookupNamespace, name, parent, plus, pop, putAt, setMetaClass, setProperty, toBigDecimal, toBigInteger, toBoolean, toDouble, toFloat, toInteger, toLong, toString, toURI, toURL
 - 
Methods inherited from class groovy.lang.GroovyObjectSupportgetMetaClass
 - 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface groovy.lang.GroovyObjectinvokeMethod
 - 
Methods inherited from interface java.lang.IterableforEach, spliterator
 
- 
 
- 
- 
- 
Constructor Detail- 
NodeParentspublic 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
 
 
- 
 - 
Method Detail- 
nodeIteratorpublic Iterator nodeIterator() - Overrides:
- nodeIteratorin class- NodeChildren
 
 
- 
 
-