Package com.aowagie.text.pdf
Class PdfIndirectObject
- java.lang.Object
-
- com.aowagie.text.pdf.PdfIndirectObject
-
public final class PdfIndirectObject extends java.lang.ObjectPdfIndirectObjectis the Pdf indirect object.An indirect object is an object that has been labeled so that it can be referenced by other objects. Any type of
PdfObjectmay be labeled as an indirect object.
An indirect object consists of an object identifier, a direct object, and the endobj keyword. The object identifier consists of an integer object number, an integer generation number, and the obj keyword.
This object is described in the 'Portable Document Format Reference Manual version 1.7' section 3.2.9 (page 63-65).- See Also:
PdfObject,PdfIndirectReference
-
-
Constructor Summary
Constructors Modifier Constructor Description privatePdfIndirectObject(int number, int generation, PdfObject object, PdfWriter writer)Constructs aPdfIndirectObject.(package private)PdfIndirectObject(int number, PdfObject object, PdfWriter writer)Constructs aPdfIndirectObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PdfIndirectReferencegetIndirectReference()Returns aPdfIndirectReferenceto thisPdfIndirectObject.(package private) voidwriteTo(java.io.OutputStream os)Writes efficiently to a stream
-
-
-
Method Detail
-
getIndirectReference
public PdfIndirectReference getIndirectReference()
Returns aPdfIndirectReferenceto thisPdfIndirectObject.- Returns:
- a
PdfIndirectReference
-
writeTo
void writeTo(java.io.OutputStream os) throws java.io.IOExceptionWrites efficiently to a stream- Parameters:
os- the stream to write to- Throws:
java.io.IOException- on write error
-
-