public class PDFBoolean extends PDFObject
A PDFBoolean represents a single boolean value, and may be inserted into any collection object.
| Constructor and Description |
|---|
PDFBoolean(boolean value,
Document doc,
boolean indirect)
General constructor
|
PDFBoolean(boolean value,
PDFObject docFromObj,
boolean indirect)
General constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
boolean |
getValue()
Boolean value of this object.
|
java.lang.String |
toString() |
clone, clone, clone, clone, clone, compareTo, destroy, enumPDFObjects, equals, getDocument, getGeneration, getID, getIndirect, getPDFHashValuepublic PDFBoolean(boolean value,
Document doc,
boolean indirect)
value - Boolean value of this PDFBooleandoc - Document object containing this PDFBooleanindirect - flag marking this as an indirect PDFObjectpublic PDFBoolean(boolean value,
PDFObject docFromObj,
boolean indirect)
value - Boolean value of this PDFBooleandocFromObj - The new PDFArray will be created in the same document as this object.indirect - flag marking this as an indirect PDFObject