org.apache.fop.pdf
public class PDFName extends PDFObject
DATE_FORMAT, log| Constructor and Description |
|---|
PDFName(java.lang.String name)
Creates a new PDF name object.
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
output(java.io.OutputStream stream)
Write the PDF represention of this object
|
void |
outputInline(java.io.OutputStream out,
java.io.Writer writer)
Writes a "direct object" (inline object) representation to the stream.
|
java.lang.String |
toString() |
encode, encodeBinaryToHexString, encodeString, encodeText, formatDateTime, formatDateTime, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, getParent, hasObjectNumber, makeReference, referencePDF, setDocument, setObjectNumber, setParent, toPDF, toPDFStringpublic PDFName(java.lang.String name)
name - the name valuepublic java.lang.String toString()
toString in class java.lang.Objectprotected int output(java.io.OutputStream stream)
throws java.io.IOException
public void outputInline(java.io.OutputStream out,
java.io.Writer writer)
throws java.io.IOException
flush() is called before any direct calls to out are made.outputInline in interface PDFWritableoutputInline in class PDFObjectout - the OutputStream (for binary content)writer - the Writer (for text content, wraps the above OutputStream)java.io.IOException - if an I/O error occursCopyright 1999-2008 The Apache Software Foundation. All Rights Reserved.