|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lowagie.text.pdf.PdfObject
com.lowagie.text.pdf.PdfBoolean
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.3' section 4.2 (page 37).
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 |
private boolean |
value
the boolean value of this object |
Fields inherited from class com.lowagie.text.pdf.PdfObject |
ARRAY, BOOLEAN, bytes, DICTIONARY, INDIRECT, NAME, NOTHING, NULL, NUMBER, STREAM, STRING, TEXT_PDFDOCENCODING, TEXT_UNICODE, type |
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. |
Methods inherited from class com.lowagie.text.pdf.PdfObject |
getBytes, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, toPdf, toString, type |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final PdfBoolean PDFTRUE
public static final PdfBoolean PDFFALSE
public static final String TRUE
PdfBoolean
public static final String FALSE
PdfBoolean
private boolean value
Constructor Detail |
public PdfBoolean(boolean value)
PdfBoolean
-object.
value
- the value of the new PdfObject
public PdfBoolean(String value) throws BadPdfFormatException
PdfBoolean
-object.
value
- the value of the new PdfObject
, represented as a String
BadPdfFormatException
- thrown if the value isn't 'true
' or 'false
'Method Detail |
public boolean booleanValue()
PdfBoolean
-object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |