|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.etymon.pjx.util.PdfReferencedObjects
public class PdfReferencedObjects
Examines a specified object and returns the set of all objects it
references. This class implements the PdfObjectFilter interface. The preFilter(PdfObject) method can be overridden in a subclass to
pre-process the object and its contents. This class is
synchronized.
| Field Summary | |
|---|---|
protected PdfManager |
_m
The manager to use for resolving references. |
protected java.util.Set |
_ref
The current set of referenced objects (stored as indirect references). |
protected java.util.Set |
_ref_master
The total set of referenced objects (stored as indirect references). |
| Constructor Summary | |
|---|---|
PdfReferencedObjects(PdfManager manager)
Constructs a PdfReferencedObjects instance. |
|
| Method Summary | |
|---|---|
java.util.Set |
getReferenced(PdfObject obj)
Returns the set of all objects referenced by the specified PDF object. |
PdfObject |
postFilter(PdfObject obj)
This method is used by getReferenced(PdfObject) and should not be called
externally. |
PdfObject |
preFilter(PdfObject obj)
This method is used by getReferenced(PdfObject) and should not be called
externally; however, it may be overridden in subclasses
in order to pre-process the objects. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.Set _ref_master
protected java.util.Set _ref
protected PdfManager _m
| Constructor Detail |
|---|
public PdfReferencedObjects(PdfManager manager)
PdfReferencedObjects instance.
manager - the manager associated with the document.| Method Detail |
|---|
public java.util.Set getReferenced(PdfObject obj)
throws java.io.IOException,
PdfFormatException
PdfObject.filter(PdfObjectFilter) to process objects
recursively.
obj - the object to examine.
PdfFormatException
java.io.IOException
public PdfObject preFilter(PdfObject obj)
throws PdfFormatException
getReferenced(PdfObject) and should not be called
externally; however, it may be overridden in subclasses
in order to pre-process the objects. (It is not
synchronized.)
preFilter in interface PdfObjectFilterobj - the object to filter.
PdfFormatException
public PdfObject postFilter(PdfObject obj)
throws PdfFormatException
getReferenced(PdfObject) and should not be called
externally. (It is not synchronized.)
postFilter in interface PdfObjectFilterobj - the object to filter.
PdfFormatException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||