Package org.verapdf.cos
Class COSBoolean
- java.lang.Object
-
- org.verapdf.cos.COSBase
-
- org.verapdf.cos.COSDirect
-
- org.verapdf.cos.COSBoolean
-
public class COSBoolean extends COSDirect
- Author:
- Timur Kamalov
-
-
Field Summary
Fields Modifier and Type Field Description static COSBooleanFALSEstatic COSBooleanTRUE
-
Constructor Summary
Constructors Modifier Constructor Description protectedCOSBoolean()protectedCOSBoolean(boolean initValue)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectaccept(ICOSVisitor visitor)voidaccept(IVisitor visitor)static COSObjectconstruct(boolean initValue)booleanequals(Object o)booleanget()BooleangetBoolean()COSObjTypegetType()voidset(boolean value)booleansetBoolean(boolean value)-
Methods inherited from class org.verapdf.cos.COSDirect
add, at, clearArray, getBooleanKey, getData, getData, getDirect, getDirectBase, getDocument, getInteger, getIntegerKey, getKey, getKey, getKeySet, getName, getNameKey, getReal, getRealKey, getRealStreamSize, getString, getStringKey, getValues, insert, isEndstreamKeywordCRLFCompliant, isIndirect, isStreamKeywordCRLFCompliant, knownKey, mark, remove, removeKey, set, setArray, setArray, setArray, setArrayKey, setArrayKey, setArrayKey, setArrayKey, setBooleanKey, setData, setData, setDirect, setEndstreamKeywordCRLFCompliant, setInteger, setIntegerKey, setKey, setKey, setName, setNameKey, setReal, setRealKey, setRealStreamSize, setStreamKeywordCRLFCompliant, setString, setString, setStringKey, size
-
Methods inherited from class org.verapdf.cos.COSBase
getObjectKey, setObjectKey
-
-
-
-
Field Detail
-
TRUE
public static final COSBoolean TRUE
-
FALSE
public static final COSBoolean FALSE
-
-
Method Detail
-
getType
public COSObjType getType()
-
construct
public static COSObject construct(boolean initValue)
-
accept
public Object accept(ICOSVisitor visitor)
-
getBoolean
public Boolean getBoolean()
- Overrides:
getBooleanin classCOSDirect
-
setBoolean
public boolean setBoolean(boolean value)
- Overrides:
setBooleanin classCOSDirect
-
get
public boolean get()
-
set
public void set(boolean value)
-
-