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:
java.util.Iterator
- Enclosing class:
- XMPIteratorImpl
private class XMPIteratorImpl.NodeIteratorChildren extends XMPIteratorImpl.NodeIterator
This iterator is derived from the defaultNodeIterator, and is only used for the optionIteratorOptions.JUST_CHILDREN.- Since:
- 02.10.2006
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.IteratorchildrenIteratorprivate intindexprivate java.lang.StringparentPath-
Fields inherited from class com.itextpdf.kernel.xmp.impl.XMPIteratorImpl.NodeIterator
ITERATE_CHILDREN, ITERATE_NODE, ITERATE_QUALIFIER
-
-
Constructor Summary
Constructors Constructor Description NodeIteratorChildren(XMPNode parentNode, java.lang.String parentPath)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()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, setReturnProperty
-
-
-
-
Constructor Detail
-
NodeIteratorChildren
public NodeIteratorChildren(XMPNode parentNode, java.lang.String parentPath)
Constructor- Parameters:
parentNode- the node which children shall be iterated.parentPath- the full path of the former node without the leaf node.
-
-
Method Detail
-
hasNext
public boolean hasNext()
Prepares the next node to return if not already done.- Specified by:
hasNextin interfacejava.util.Iterator- Overrides:
hasNextin classXMPIteratorImpl.NodeIterator- See Also:
Iterator.hasNext()
-
-