|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.fop.pdf.PDFObject
org.apache.fop.pdf.PDFName
public class PDFName
Class representing a PDF name object.
| Field Summary |
|---|
| Fields inherited from class org.apache.fop.pdf.PDFObject |
|---|
log |
| Constructor Summary | |
|---|---|
PDFName(java.lang.String name)
Creates a new PDF name object. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getName()
Returns the name without the leading slash. |
int |
hashCode()
|
int |
output(java.io.OutputStream stream)
Write the PDF represention of this object |
void |
outputInline(java.io.OutputStream out,
java.lang.StringBuilder textBuffer)
Writes a "direct object" (inline object) representation to the stream. |
java.lang.String |
toString()
|
| Methods inherited from class org.apache.fop.pdf.PDFObject |
|---|
contentEquals, encode, encodeBinaryToHexString, encodeString, encodeText, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, getParent, hasObjectNumber, makeReference, referencePDF, setDocument, setObjectNumber, setParent, toPDF, toPDFString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PDFName(java.lang.String name)
name - the name value| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getName()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
public int output(java.io.OutputStream stream)
throws java.io.IOException
PDFObject
output in class PDFObjectstream - the stream to write the PDF to
java.io.IOException - if there is an error writing to the stream
public void outputInline(java.io.OutputStream out,
java.lang.StringBuilder textBuffer)
throws java.io.IOException
PDFObject
IMPORTANT: If you need to write out binary output, call
PDFDocument.flushTextBuffer(StringBuilder, OutputStream) before writing any content
to the OutputStream!
outputInline in interface PDFWritableoutputInline in class PDFObjectout - the OutputStream (for binary content)textBuffer - the text buffer for text content
java.io.IOException - if an I/O error occurs
|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||