PDFStructureScalarIterator.java
951 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
* Decompiled with CFR 0_118.
*/
package com.adobe.internal.pdftoolkit.pdf.interchange.structure;
import com.adobe.internal.pdftoolkit.pdf.interchange.structure.PDFStructureContentInterface;
import com.adobe.internal.pdftoolkit.pdf.interchange.structure.PDFStructureContentIterator;
class PDFStructureScalarIterator
extends PDFStructureContentIterator {
PDFStructureContentInterface content;
PDFStructureScalarIterator(PDFStructureContentInterface node) {
super(node);
this.content = node;
}
public boolean hasNext() {
return this.content != null;
}
public PDFStructureContentInterface next() {
PDFStructureContentInterface node = this.content;
this.content = null;
return node;
}
public void remove() {
}
public boolean isScalar() {
return true;
}
public PDFStructureContentInterface nextItem() {
return this.next();
}
}