Package com.itextpdf.xmp.impl
Class XMPIteratorImpl.NodeIteratorChildren
java.lang.Object
com.itextpdf.xmp.impl.XMPIteratorImpl.NodeIterator
com.itextpdf.xmp.impl.XMPIteratorImpl.NodeIteratorChildren
- All Implemented Interfaces:
Iterator
- Enclosing class:
- XMPIteratorImpl
This iterator is derived from the default
NodeIterator
,
and is only used for the option IteratorOptions.JUST_CHILDREN
.- Since:
- 02.10.2006
-
Field Summary
FieldsFields inherited from class com.itextpdf.xmp.impl.XMPIteratorImpl.NodeIterator
ITERATE_CHILDREN, ITERATE_NODE, ITERATE_QUALIFIER
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
hasNext()
Prepares the next node to return if not already done.Methods inherited from class com.itextpdf.xmp.impl.XMPIteratorImpl.NodeIterator
accumulatePath, createPropertyInfo, getChildrenIterator, getReturnProperty, next, remove, reportNode, setChildrenIterator, setReturnProperty
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
parentPath
-
childrenIterator
-
index
private int index
-
-
Constructor Details
-
NodeIteratorChildren
Constructor- Parameters:
parentNode
- the node which children shall be iterated.parentPath
- the full path of the former node without the leaf node.
-
-
Method Details
-
hasNext
public boolean hasNext()Prepares the next node to return if not already done.- Specified by:
hasNext
in interfaceIterator
- Overrides:
hasNext
in classXMPIteratorImpl.NodeIterator
- See Also:
-