| Modifier and Type | Class and Description |
|---|---|
| private static class | PDFieldTree.
Iterator which walks all fields in the tree, in order. |
| Modifier and Type | Field and Description |
|---|---|
| private final PDAcroForm | |
| private static final Log |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Iterator | iterator()
Implements java. Returns an iterator which walks all fields in the tree, in order. |
| acroForm | back to summary |
|---|---|
| private final PDAcroForm acroForm | |
| LOG | back to summary |
|---|---|
| private static final Log LOG | |
| PDFieldTree | back to summary |
|---|---|
| public PDFieldTree(PDAcroForm acroForm) Constructor for reading.
| |
| iterator | back to summary |
|---|---|
| public Iterator Implements java. Returns an iterator which walks all fields in the tree, in order.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final Queue | |
| private final Set |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public boolean | |
| public PDField | |
| public void | remove()
Overrides default java. Removes from the underlying collection the last element returned by this iterator (optional operation). |
| queue | back to summary |
|---|---|
| private final Queue<PDField> queue | |
| set | back to summary |
|---|---|
| private final Set<COSDictionary> set | |
| FieldIterator | back to summary |
|---|---|
| private FieldIterator(PDAcroForm form) | |
| enqueueKids | back to summary |
|---|---|
| private void enqueueKids(PDField node) | |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() Implements java. Doc from java. Returns
| |
| next | back to summary |
|---|---|
| public PDField next() Implements java. Doc from java. Returns the next element in the iteration. | |
| remove | back to summary |
|---|---|
| public void remove() Overrides default java. Doc from java. Removes from the underlying collection the last element returned
by this iterator (optional operation). This method can be called
only once per call to The behavior of an iterator is unspecified if the underlying collection is modified while the iteration is in progress in any way other than by calling this method, unless an overriding class has specified a concurrent modification policy.
The behavior of an iterator is unspecified if this method is called
after a call to the
| |