com.lowagie.text.pdf
public class: PdfIndirectReference [javadoc |
source]
java.lang.Object
com.lowagie.text.pdf.PdfObject
com.lowagie.text.pdf.PdfIndirectReference
Direct Known Subclasses:
PRIndirectReference
PdfIndirectReference contains a reference to a
PdfIndirectObject.
Any object used as an element of an array or as a value in a dictionary may be specified
by either a direct object of an indirect reference. An indirect reference is a reference
to an indirect object, and consists of the indirect object's object number, generation number
and the R keyword.
This object is described in the 'Portable Document Format Reference Manual version 1.3'
section 4.11 (page 54).
| Field Summary |
|---|
| protected int | number | the object number |
| protected int | generation | the generation number |
| Fields inherited from com.lowagie.text.pdf.PdfObject: |
|---|
| BOOLEAN, NUMBER, STRING, NAME, ARRAY, DICTIONARY, STREAM, NULL, INDIRECT, NOTHING, TEXT_PDFDOCENCODING, TEXT_UNICODE, bytes, type, indRef |
| Methods from com.lowagie.text.pdf.PdfObject: |
|---|
|
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, toPdf, toString, type |
| Methods from java.lang.Object: |
|---|
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method from com.lowagie.text.pdf.PdfIndirectReference Detail: |
public int getGeneration() {
return generation;
}
Returns the generation of the object. |
public int getNumber() {
return number;
}
Returns the number of the object. |
public String toString() {
return new StringBuffer().append(number).append(" ").append(generation).append(" R").toString();
}
|