public final class PDFNull extends Object implements PDFWritable
Modifier and Type | Field and Description |
---|---|
static PDFNull |
INSTANCE
Instance for the "null" object.
|
Modifier and Type | Method and Description |
---|---|
void |
outputInline(OutputStream out,
StringBuilder textBuffer)
Writes a "direct object" (inline object) representation to the stream.
|
String |
toString() |
public static final PDFNull INSTANCE
public void outputInline(OutputStream out, StringBuilder textBuffer) throws IOException
IMPORTANT: If you need to write out binary output, call
PDFDocument.flushTextBuffer(StringBuilder, OutputStream)
before writing any content
to the OutputStream
!
outputInline
in interface PDFWritable
out
- the OutputStream (for binary content)textBuffer
- the text buffer for text contentIOException
- if an I/O error occursCopyright © 2025 Apache Software Foundation. All rights reserved.