PdfNull
Overview
PdfNull is a class in Aspose.PDF FOSS for Java.
Inherits from: PdfBase.
PDF null object (§7.3.9, ISO 32000-1:2008).
This class provides 11 methods for working with PdfNull objects in Java programs.
Available methods include: accept, equals, getInstance, getObjectKey, hashCode, isDirty, isIndirect, setDirty, setObjectKey, toString, writeTo.
All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package.
Properties: INSTANCE, dirty, indirect, instance, objectKey.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
instance | PdfNull | Read | Returns the singleton null instance. |
INSTANCE | PdfNull | Read | The singleton null instance. |
dirty | boolean | Read | Returns {@code true} if this object was modified since loading. |
indirect | boolean | Read | Returns whether this object is an indirect object (has an object key). |
objectKey | PdfObjectKey | Read | Returns the indirect object key, or {@code null} for direct objects. |
Methods
| Signature | Description |
|---|---|
getInstance() → PdfNull | Returns the singleton null instance. |
setObjectKey(key: PdfObjectKey) | Flyweight singleton — object key assignment is ignored. |
writeTo(os: OutputStream) | |
accept(visitor: IPdfVisitor<T>) → T | |
equals(o: Object) → boolean | |
hashCode() → int | |
toString() → String | |
isDirty() → boolean | Returns {@code true} if this object was modified since loading. |
setDirty(dirty: boolean) | Sets the dirty flag on this object. |
isIndirect() → boolean | Returns whether this object is an indirect object (has an object key). |
getObjectKey() → PdfObjectKey | Returns the indirect object key, or {@code null} for direct objects. |