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:
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.Iterator
childrenIterator
private int
index
private java.lang.String
parentPath
-
Fields inherited from class com.itextpdf.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 boolean
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
-
-
-
-
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:
hasNext
in interfacejava.util.Iterator
- Overrides:
hasNext
in classXMPIteratorImpl.NodeIterator
- See Also:
Iterator.hasNext()
-
-