Save This Page
Home » iText-2.1.7 » com.lowagie » text » pdf » [javadoc | source]
com.lowagie.text.pdf
public class: PdfIndirectObject [javadoc | source]
java.lang.Object
   com.lowagie.text.pdf.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).

Field Summary
protected  int number    The object number 
protected  int generation    the generation number 
static final  byte[] STARTOBJ     
static final  byte[] ENDOBJ     
static final  int SIZEOBJ     
 PdfObject object     
 PdfWriter writer     
Constructor:
 PdfIndirectObject(int number,
    PdfObject object,
    PdfWriter writer) 
    Constructs a PdfIndirectObject.
    Parameters:
    number - the object number
    object - the direct object
 PdfIndirectObject(PdfIndirectReference ref,
    PdfObject object,
    PdfWriter writer) 
 PdfIndirectObject(int number,
    int generation,
    PdfObject object,
    PdfWriter writer) 
    Constructs a PdfIndirectObject.
    Parameters:
    number - the object number
    generation - the generation number
    object - the direct object
Method from com.lowagie.text.pdf.PdfIndirectObject Summary:
getIndirectReference,   writeTo
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.lowagie.text.pdf.PdfIndirectObject Detail:
 public PdfIndirectReference getIndirectReference() 
    Returns a PdfIndirectReference to this PdfIndirectObject.
  void writeTo(OutputStream os) throws IOException 
    Writes efficiently to a stream