KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > etymon > pjx > util > PdfFieldTreeIterator


1 /*
2   Copyright (C) Etymon Systems, Inc. <http://www.etymon.com/>
3 */

4
5 package com.etymon.pjx.util;
6
7 import java.io.*;
8 import java.util.*;
9 import com.etymon.pjx.*;
10
11 /**
12    An iterator over the tree of field dictionaries in a PDF document.
13    @author Nassib Nassar
14 */

15 public interface PdfFieldTreeIterator {
16
17     /**
18        Returns <code>true</code> if any more field objects remain.
19        @return <code>true</code> if more field objects remain.
20     */

21     public boolean hasNext() throws PdfFormatException;
22
23     /**
24        Returns an indirect reference to the next field object.
25        @return the indirect reference.
26     */

27     public PdfReference next() throws NoSuchElementException, IOException, PdfFormatException;
28
29 }
30
Popular Tags