Top Description Constructors Methods
groovy.xml.slurpersupport

public Class NodeParents

extends NodeChildren
Class Inheritance
Imports
java.util.Iterator, .Map

Lazy evaluated representation of parent nodes without duplicates

Constructor Summary

AccessConstructor and Description
public
NodeParents(final GPathResult
the GPathResult prior to the application of the expression creating this GPathResult
parent
,
final Map<String, String>
the known tag to namespace mappings
namespaceTagHints
)

Method Summary

Modifier and TypeMethod and Description
public Iterator<E>
Inherited from groovy.xml.slurpersupport.NodeChildren:
appendNodebuildchildNodesfindfindAlliteratorparentsreplaceBodyreplaceNodesizetextwriteTo

Constructor Detail

NodeParentsback to summary
public NodeParents(final GPathResult parent, final Map<String, String> namespaceTagHints)
Parameters
parent:GPathResult

the GPathResult prior to the application of the expression creating this GPathResult

namespaceTagHints:Map<String, String>

the known tag to namespace mappings

Method Detail

nodeIteratorback to summary
public Iterator<E> nodeIterator()

Overrides groovy.xml.slurpersupport.NodeChildren.nodeIterator.