org.apache.fop.pdf

Class PDFName

Implemented Interfaces:
PDFWritable

public class PDFName
extends PDFObject

Class representing a PDF name object.

Field Summary

Fields inherited from class org.apache.fop.pdf.PDFObject

DATE_FORMAT, log

Constructor Summary

PDFName(String name)
Creates a new PDF name object.

Method Summary

protected int
output(OutputStream stream)
void
outputInline(OutputStream out, Writer writer)
String
toString()

Methods inherited from class org.apache.fop.pdf.PDFObject

encode, encodeBinaryToHexString, encodeString, encodeText, formatDateTime, formatDateTime, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, getParent, hasObjectNumber, makeReference, output, outputInline, referencePDF, setDocument, setObjectNumber, setParent, toPDF, toPDFString

Constructor Details

PDFName

public PDFName(String name)
Creates a new PDF name object.
Parameters:
name - the name value

Method Details

output

protected int output(OutputStream stream)
            throws IOException
Overrides:
output in interface PDFObject

outputInline

public void outputInline(OutputStream out,
                         Writer writer)
            throws IOException
Specified by:
outputInline in interface PDFWritable
Overrides:
outputInline in interface PDFObject

toString

public String toString()

Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.