|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.etymon.pjx.util.PdfReferencedObjects
com.etymon.pjx.util.PdfPageObjects
public class PdfPageObjects
Examines a specified page dictionary and returns the set of all objects it references that are required for the page to be extracted from the document. This class is synchronized.
Field Summary | |
---|---|
protected PdfManager |
_mgr
The manager to use for resolving references. |
protected static PdfName |
PDFNAME_ANNOT
A PdfName object representing the name
Annot . |
protected static PdfName |
PDFNAME_P
A PdfName object representing the name
P . |
protected static PdfName |
PDFNAME_PAGE
A PdfName object representing the name
Page . |
protected static PdfName |
PDFNAME_PARENT
A PdfName object representing the name
Parent . |
protected static PdfName |
PDFNAME_TYPE
A PdfName object representing the name
Type . |
Fields inherited from class com.etymon.pjx.util.PdfReferencedObjects |
---|
_m, _ref, _ref_master |
Constructor Summary | |
---|---|
PdfPageObjects(PdfManager manager)
Constructs a PdfPageObjects instance. |
Method Summary | |
---|---|
java.util.Set |
getReferenced(PdfObject obj)
Returns the set of all objects referenced by the specified page object that are required for the page to be extracted from the document. |
PdfObject |
preFilter(PdfObject obj)
This method is used by getReferenced(PdfObject) and should not be called
externally. |
Methods inherited from class com.etymon.pjx.util.PdfReferencedObjects |
---|
postFilter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected PdfManager _mgr
protected static final PdfName PDFNAME_ANNOT
PdfName
object representing the name
Annot
.
protected static final PdfName PDFNAME_P
PdfName
object representing the name
P
.
protected static final PdfName PDFNAME_PAGE
PdfName
object representing the name
Page
.
protected static final PdfName PDFNAME_PARENT
PdfName
object representing the name
Parent
.
protected static final PdfName PDFNAME_TYPE
PdfName
object representing the name
Type
.
Constructor Detail |
---|
public PdfPageObjects(PdfManager manager)
PdfPageObjects
instance.
manager
- the manager associated with the document.Method Detail |
---|
public java.util.Set getReferenced(PdfObject obj) throws java.io.IOException, PdfFormatException
getReferenced
in class PdfReferencedObjects
obj
- the object to examine.
PdfFormatException
java.io.IOException
public PdfObject preFilter(PdfObject obj) throws PdfFormatException
getReferenced(PdfObject)
and should not be called
externally. (It is not synchronized.)
preFilter
in interface PdfObjectFilter
preFilter
in class PdfReferencedObjects
obj
- the object to filter.
PdfFormatException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |