|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.apache.fop.pdf.PDFObject
generic PDF object. A PDF Document is essentially a collection of these objects. A PDF Object has a number and a generation (although the generation will always be 0 in new documents).
| Field Summary | |
protected int |
generation
the object's generation (0 in new documents) |
protected int |
number
the object's number |
| Constructor Summary | |
PDFObject()
|
|
PDFObject(int number)
create an empty object |
|
| Method Summary | |
int |
getNumber()
|
protected int |
output(java.io.OutputStream stream)
write the PDF represention of this object |
java.lang.String |
referencePDF()
the PDF representation of a reference to this object |
| 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
| Constructor Detail |
public PDFObject(int number)
number - the object's numberpublic PDFObject()
| Method Detail |
public int getNumber()
protected int output(java.io.OutputStream stream)
throws java.io.IOException
stream - the stream to write the PDF to
java.io.IOExceptionpublic java.lang.String referencePDF()
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||