Package com.aowagie.text.pdf
Class PdfIndirectReference
- java.lang.Object
-
- com.aowagie.text.pdf.PdfObject
-
- com.aowagie.text.pdf.PdfIndirectReference
-
- Direct Known Subclasses:
PRIndirectReference
public class PdfIndirectReference extends PdfObject
PdfIndirectReference
contains a reference to aPdfIndirectObject
.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).- See Also:
PdfObject
,PdfIndirectObject
-
-
Field Summary
Fields Modifier and Type Field Description protected int
generation
the generation numberprotected int
number
the object number-
Fields inherited from class com.aowagie.text.pdf.PdfObject
ARRAY, BOOLEAN, bytes, DICTIONARY, INDIRECT, NAME, NOTHING, NULL, NUMBER, STREAM, STRING, TEXT_PDFDOCENCODING, TEXT_UNICODE, type
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
PdfIndirectReference()
(package private)
PdfIndirectReference(int type, int number)
Constructs aPdfIndirectReference
.(package private)
PdfIndirectReference(int type, int number, int generation)
Constructs aPdfIndirectReference
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getGeneration()
Returns the generation of the object.int
getNumber()
Returns the number of the object.java.lang.String
toString()
Returns theString
-representation of thisPdfObject
.-
Methods inherited from class com.aowagie.text.pdf.PdfObject
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, setContent, setIndRef, toPdf, type
-
-
-
-
Constructor Detail
-
PdfIndirectReference
protected PdfIndirectReference()
-
PdfIndirectReference
PdfIndirectReference(int type, int number, int generation)
Constructs aPdfIndirectReference
.- Parameters:
type
- the type of thePdfObject
that is referenced tonumber
- the object number.generation
- the generation number.
-
PdfIndirectReference
PdfIndirectReference(int type, int number)
Constructs aPdfIndirectReference
.- Parameters:
type
- the type of thePdfObject
that is referenced tonumber
- the object number.
-
-