|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.etymon.pjx.util.PdfFieldTree
public class PdfFieldTree
Provides methods for retrieving and modifying the field tree of a PDF document. This class is synchronized.
| Nested Class Summary | |
|---|---|
protected class |
PdfFieldTree.FieldTreeIterator
An iterator over the tree of field dictionaries in a PDF document. |
| Field Summary | |
|---|---|
protected PdfCatalog |
_catalog
The catalog associated with this document. |
protected static java.util.Set |
_inheritable
Defines the set of inheritable field attributes. |
protected static java.util.Set |
_inheritableAcroForm
Defines the set of field attributes that are inheritable from the AcroForm. |
protected PdfManager |
_m
The manager associated with this document. |
protected java.util.Stack |
_nested
A stack for holding nested levels of field nodes. |
protected static PdfName |
PDFNAME_ACROFORM
|
protected static PdfName |
PDFNAME_FIELDS
|
protected static PdfName |
PDFNAME_KIDS
|
protected static PdfName |
PDFNAME_PARENT
|
protected static PdfName |
PDFNAME_T
|
protected static PdfName |
PDFNAME_TYPE
|
| Constructor Summary | |
|---|---|
PdfFieldTree(PdfManager manager)
Constructs a PdfFieldTree instance based on a
specified PdfManager. |
|
| Method Summary | |
|---|---|
protected PdfObject |
getAcroForm()
Returns the interactive form dictionary of the document. |
java.lang.String |
getFullyQualifiedName(PdfDictionary field)
Determines the fully qualified field name of a specified field. |
PdfFieldTreeIterator |
getIterator()
Returns an iterator over the terminal field objects in this document's field tree. |
PdfDictionary |
inheritAttributes(PdfDictionary field)
Adds inherited attributes to a specified field dictionary object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.Stack _nested
protected PdfManager _m
protected PdfCatalog _catalog
protected static java.util.Set _inheritable
protected static java.util.Set _inheritableAcroForm
protected static final PdfName PDFNAME_ACROFORM
protected static final PdfName PDFNAME_KIDS
protected static final PdfName PDFNAME_FIELDS
protected static final PdfName PDFNAME_PARENT
protected static final PdfName PDFNAME_T
protected static final PdfName PDFNAME_TYPE
| Constructor Detail |
|---|
public PdfFieldTree(PdfManager manager)
PdfFieldTree instance based on a
specified PdfManager.
| Method Detail |
|---|
protected PdfObject getAcroForm()
throws java.io.IOException,
PdfFormatException
PdfDictionary (the
AcroForm dictionary), a PdfReference (an
indirect reference to the AcroForm dictionary), or
null if there is no AcroForm dictionary
present.
null.
java.io.IOException
PdfFormatException
public java.lang.String getFullyQualifiedName(PdfDictionary field)
throws java.io.IOException,
PdfFormatException
field - the field dictionary.
java.io.IOException
PdfFormatException
public PdfDictionary inheritAttributes(PdfDictionary field)
throws java.io.IOException,
PdfFormatException
field - the field dictionary to be filled in with
inherited attributes.
java.io.IOException
PdfFormatException
public PdfFieldTreeIterator getIterator()
throws java.io.IOException,
PdfFormatException
inheritAttributes(PdfDictionary) should be used to obtain
inherited attributes.
java.io.IOException
PdfFormatException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||