|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.itextpdf.text.pdf.PdfIndirectObject
public class PdfIndirectObject
PdfIndirectObject
is 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 PdfObject
may 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).
PdfObject
,
PdfIndirectReference
Field Summary | |
---|---|
protected int |
generation
the generation number |
protected int |
number
The object number |
protected PdfObject |
object
|
protected PdfWriter |
writer
|
Constructor Summary | |
---|---|
protected |
PdfIndirectObject(int number,
PdfObject object,
PdfWriter writer)
Constructs a PdfIndirectObject . |
Method Summary | |
---|---|
PdfIndirectReference |
getIndirectReference()
Returns a PdfIndirectReference to this PdfIndirectObject . |
protected void |
writeTo(OutputStream os)
Writes efficiently to a stream |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int number
protected int generation
protected PdfObject object
protected PdfWriter writer
Constructor Detail |
---|
protected PdfIndirectObject(int number, PdfObject object, PdfWriter writer)
PdfIndirectObject
.
number
- the object numberobject
- the direct objectMethod Detail |
---|
public PdfIndirectReference getIndirectReference()
PdfIndirectReference
to this PdfIndirectObject
.
PdfIndirectReference
protected void writeTo(OutputStream os) throws IOException
os
- the stream to write to
IOException
- on write error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |