PJX

com.etymon.pjx.util
Class PdfPageObjects

java.lang.Object
  extended bycom.etymon.pjx.util.PdfReferencedObjects
      extended bycom.etymon.pjx.util.PdfPageObjects
All Implemented Interfaces:
PdfObjectFilter

public class PdfPageObjects
extends PdfReferencedObjects

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.


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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PdfPageObjects

public PdfPageObjects(PdfManager manager)
Constructs a PdfPageObjects instance.

Parameters:
manager - the manager associated with the document.
Method Detail

getReferenced

public java.util.Set getReferenced(PdfObject obj)
                            throws java.io.IOException,
                                   PdfFormatException
Returns the set of all objects referenced by the specified page object that are required for the page to be extracted from the document.

Overrides:
getReferenced in class PdfReferencedObjects
Parameters:
obj - the object to examine.
Throws:
PdfFormatException
java.io.IOException

preFilter

public PdfObject preFilter(PdfObject obj)
                    throws PdfFormatException
This method is used by getReferenced(PdfObject) and should not be called externally. (It is not synchronized.)

Specified by:
preFilter in interface PdfObjectFilter
Overrides:
preFilter in class PdfReferencedObjects
Parameters:
obj - the object to filter.
Returns:
the filtered object.
Throws:
PdfFormatException

Copyright © 1998-2004 Etymon Systems, Inc.

The PDF data structures, operators, and specification are
Copyright © 1985-2004 Adobe Systems Incorporated.