de.intarsys.pdf.cos
Class COSNull
java.lang.Object
de.intarsys.pdf.cos.COSDocumentElement
de.intarsys.pdf.cos.COSObject
de.intarsys.pdf.cos.COSPrimitiveObject
de.intarsys.pdf.cos.COSNull
- All Implemented Interfaces:
- ICOSExceptionHandler, de.intarsys.tools.component.ISaveStateSupport
public class COSNull
- extends COSPrimitiveObject
The null object
Methods inherited from class de.intarsys.pdf.cos.COSObject |
asArray, asBoolean, asDictionary, asFixed, asInteger, asName, asNull, asNumber, asStream, asString, beConstant, beIndirect, containable, copyOptional, copyShallow, copySubGraph, dereference, getContainer, getDoc, getIndirectObject, isIndirect, isNumber, isSwapped, restoreState, stringValue, toString |
NULL
public static final COSNull NULL
create
public static COSNull create()
accept
public Object accept(ICOSObjectVisitor visitor)
throws COSVisitorException
- Description copied from class:
COSDocumentElement
- Accept a visitor object. The receiver selects the correct implementation
in the
visitor
by "double dispatching".
- Specified by:
accept
in class COSDocumentElement
- Parameters:
visitor
- The object visiting the receiver.
- Returns:
- Object An object depending on the visitor semantics.
- Throws:
COSVisitorException
- An exception depending on the visitor semantics.
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
isNull
public boolean isNull()
- Description copied from class:
COSObject
- answer true if receiver is the null object
- Overrides:
isNull
in class COSObject
- Returns:
- true if receiver is the null object
saveState
public Object saveState()
Copyright © 2006 intarsys consulting GmbH. All Rights Reserved.