org.apache.fop.pdf
Class PDFReference
java.lang.Object
org.apache.fop.pdf.PDFReference
- PDFWritable
public class PDFReference
extends java.lang.Object
Class representing a PDF object reference. The object holds a soft reference to the actual
PDF object so the garbage collector can free the object if it's not referenced elsewhere. The
important thing about the class is the reference information to the actual PDF object in the
PDF file.
PDFReference
public PDFReference(String ref)
Creates a new PDF reference, but without a reference to the original object.
ref
- an object reference
PDFReference
public PDFReference(PDFObject obj)
Creates a new PDF reference.
obj
- the object to be referenced
getObject
public PDFObject getObject()
Returns the PDF object
- the PDF object, or null if it has been released
outputInline
public void outputInline(OutputStream out,
Writer writer)
throws IOException
- outputInline in interface PDFWritable
toString
public String toString()
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.