java.lang.Object
com.lowagie.text.pdf.PdfObject
com.lowagie.text.pdf.PdfBoolean
Deprecated.
PdfBoolean is the boolean object represented by the keywords true or false.
This object is described in the 'Portable Document Format Reference Manual version 1.7' section 3.2.1 (page 52).
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.A possible value ofPdfBooleanstatic final PdfBooleanDeprecated.static final PdfBooleanDeprecated.static final StringDeprecated.A possible value ofPdfBoolean -
Constructor Summary
ConstructorsConstructorDescriptionPdfBoolean(boolean value) Deprecated.Constructs aPdfBoolean-object.PdfBoolean(String value) Deprecated.Constructs aPdfBoolean-object. -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.Returns the primitive value of thePdfBoolean-object.toString()Deprecated.Returns theString-representation of thisPdfObject.Methods inherited from class com.lowagie.text.pdf.PdfObject
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, toPdf, type
-
Field Details
-
PDFTRUE
Deprecated. -
PDFFALSE
Deprecated. -
TRUE
Deprecated.A possible value ofPdfBoolean- See Also:
-
FALSE
Deprecated.A possible value ofPdfBoolean- See Also:
-
-
Constructor Details
-
PdfBoolean
public PdfBoolean(boolean value) Deprecated.Constructs aPdfBoolean-object.- Parameters:
value- the value of the newPdfObject
-
PdfBoolean
Deprecated.Constructs aPdfBoolean-object.- Parameters:
value- the value of the newPdfObject, represented as aString- Throws:
BadPdfFormatException- thrown if the value isn't 'true' or 'false'
-
-
Method Details
-
booleanValue
public boolean booleanValue()Deprecated.Returns the primitive value of thePdfBoolean-object.- Returns:
- the actual value of the object.
-
toString
Deprecated.Description copied from class:PdfObjectReturns theString-representation of thisPdfObject.
-