Package org.apache.fop.pdf
Class PDFNull
java.lang.Object
org.apache.fop.pdf.PDFNull
- All Implemented Interfaces:
PDFWritable
Class representing a PDF name object.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
outputInline
(OutputStream out, StringBuilder textBuffer) Writes a "direct object" (inline object) representation to the stream.toString()
-
Field Details
-
INSTANCE
Instance for the "null" object.
-
-
Method Details
-
toString
-
outputInline
Writes a "direct object" (inline object) representation to the stream. A text buffer is given for optimized encoding of text content.IMPORTANT: If you need to write out binary output, call
PDFDocument.flushTextBuffer(StringBuilder, OutputStream)
before writing any content to theOutputStream
!- Specified by:
outputInline
in interfacePDFWritable
- Parameters:
out
- the OutputStream (for binary content)textBuffer
- the text buffer for text content- Throws:
IOException
- if an I/O error occurs
-