public final class COSNull extends COSBase
Modifier and Type | Field and Description |
---|---|
static COSNull |
NULL
The one null object in the system.
|
static byte[] |
NULL_BYTES
The null token.
|
Modifier | Constructor and Description |
---|---|
private |
COSNull()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
accept(ICOSVisitor visitor)
visitor pattern double dispatch method.
|
java.lang.String |
toString() |
void |
writePDF(java.io.OutputStream output)
This will output this string as a PDF object.
|
getCOSObject, isDirect, setDirect
public static final byte[] NULL_BYTES
public static final COSNull NULL
public java.lang.Object accept(ICOSVisitor visitor) throws java.io.IOException
public void writePDF(java.io.OutputStream output) throws java.io.IOException
output
- The stream to write to.java.io.IOException
- If there is an error writing to the stream.public java.lang.String toString()
toString
in class java.lang.Object