diff options
Diffstat (limited to 'src/java/org/apache/fop/pdf/PDFNull.java')
-rw-r--r-- | src/java/org/apache/fop/pdf/PDFNull.java | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/java/org/apache/fop/pdf/PDFNull.java b/src/java/org/apache/fop/pdf/PDFNull.java index e3fb44a8d..b1af30dc0 100644 --- a/src/java/org/apache/fop/pdf/PDFNull.java +++ b/src/java/org/apache/fop/pdf/PDFNull.java @@ -19,6 +19,10 @@ package org.apache.fop.pdf; +import java.io.IOException; +import java.io.OutputStream; +import java.io.Writer; + /** * Class representing a PDF name object. */ @@ -35,13 +39,13 @@ public final class PDFNull implements PDFWritable { } /** {@inheritDoc} */ - public String toInlinePDFString() { + public String toString() { return "null"; } /** {@inheritDoc} */ - public String toString() { - return toInlinePDFString(); + public void outputInline(OutputStream out, Writer writer) throws IOException { + writer.write(toString()); } } |