com.lowagie.text.pdf
public class PdfBoolean extends PdfObject
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: PdfObject BadPdfFormatException
Field Summary | |
---|---|
static String | FALSE A possible value of PdfBoolean |
static PdfBoolean | PDFFALSE |
static PdfBoolean | PDFTRUE |
static String | TRUE A possible value of PdfBoolean |
boolean | value the boolean value of this object |
Constructor Summary | |
---|---|
PdfBoolean(boolean value)
Constructs a PdfBoolean -object.
| |
PdfBoolean(String value)
Constructs a PdfBoolean -object.
|
Method Summary | |
---|---|
boolean | booleanValue()
Returns the primitive value of the PdfBoolean -object.
|
String | toString() |
PdfBoolean
PdfBoolean
PdfBoolean
-object.
Parameters: value the value of the new PdfObject
PdfBoolean
-object.
Parameters: value the value of the new PdfObject
, represented as a String
Throws: BadPdfFormatException thrown if the value isn't 'true
' or 'false
'
PdfBoolean
-object.
Returns: the actual value of the object.