|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.pdfview.PDFXrefEntry
public class PDFXrefEntry
An entry found in a PDFFile's xref table or xref streams, identifying the position of an object within the structure of a PDF, and the latest generation number for a given object. May also indicate that a given object number has been freed, and that references to objects with that object number should be treated as references to the null object.
Method Summary | |
---|---|
int |
getGeneration()
|
PDFObject |
getObject()
|
int[] |
getObjectIndexOffsets()
|
int |
getOffset()
|
PDFXref |
getStream()
|
com.sun.pdfview.PDFXrefEntry.Type |
getType()
|
boolean |
resolves(PDFXref ref)
|
void |
setObject(PDFObject obj)
Cache a reference to the target object of this entry |
void |
setObjectIndexOffsets(int[] objectIndexOffsets)
For entries for object streams, set the offsets of each object in the stream, arranged by index number |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public boolean resolves(PDFXref ref)
public int getOffset()
public PDFXref getStream()
null
for other entry typespublic com.sun.pdfview.PDFXrefEntry.Type getType()
public int getGeneration()
public PDFObject getObject()
null
if this entry has yet to be looked at, or its
target has been garbage collectedpublic void setObject(PDFObject obj)
obj
- the object to cachepublic int[] getObjectIndexOffsets()
public void setObjectIndexOffsets(int[] objectIndexOffsets)
objectIndexOffsets
- the object index offsets
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |