Package com.itextpdf.kernel.xmp.impl
Class XMPIteratorImpl.NodeIteratorChildren
java.lang.Object
com.itextpdf.kernel.xmp.impl.XMPIteratorImpl.NodeIterator
com.itextpdf.kernel.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.kernel.xmp.impl.XMPIteratorImpl.NodeIterator
ITERATE_CHILDREN, ITERATE_NODE, ITERATE_QUALIFIER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanhasNext()Prepares the next node to return if not already done.Methods inherited from class com.itextpdf.kernel.xmp.impl.XMPIteratorImpl.NodeIterator
accumulatePath, createPropertyInfo, getChildrenIterator, getReturnProperty, next, remove, reportNode, setChildrenIterator, setReturnPropertyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
hasNextin interfaceIterator- Overrides:
hasNextin classXMPIteratorImpl.NodeIterator- See Also:
-