Class CosBoolean
- java.lang.Object
-
- com.adobe.internal.pdftoolkit.core.cos.CosObject
-
- com.adobe.internal.pdftoolkit.core.cos.CosScalar
-
- com.adobe.internal.pdftoolkit.core.cos.CosBoolean
-
public class CosBoolean extends CosScalar
Represents a COS Boolean object as defined in section 3.2.1 of the PDF Reference Manual version 1.4.
-
-
Field Summary
-
Fields inherited from class com.adobe.internal.pdftoolkit.core.cos.CosObject
DIRECT, INDIRECT, t_Array, t_Boolean, t_Dictionary, t_KeyAbsent, t_Name, t_Null, t_Numeric, t_ObjectRef, t_Stream, t_String
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
booleanValue()
Returns the value of the boolean.boolean
equals(CosObject value)
This method returns true if both CosObjects have same boolean value or they are the same objects.int
getType()
return the type of this CosObjectjava.lang.Object
getValue()
Returns the value as an instance of Boolean-
Methods inherited from class com.adobe.internal.pdftoolkit.core.cos.CosObject
doubleValue, equals, getDocument, getObjEOF, getObjGen, getObjNum, getObjPos, getObjRevision, getStreamManager, hexStringValue, intValue, isCompressed, isDirty, isIndirect, longValue, nameValue, numberValue, stringValue, textValue, toString
-
-
-
-
Method Detail
-
getType
public int getType()
return the type of this CosObject
-
booleanValue
public boolean booleanValue()
Returns the value of the boolean.- Overrides:
booleanValue
in classCosObject
- Returns:
- boolean
-
getValue
public java.lang.Object getValue()
Returns the value as an instance of Boolean
-
-