public class PdfBoolean extends PdfPrimitiveObject
| Modifier and Type | Field and Description |
|---|---|
static PdfBoolean |
FALSE |
static PdfBoolean |
TRUE |
content, directOnlyARRAY, BOOLEAN, DICTIONARY, FLUSHED, FORBID_RELEASE, FREE, INDIRECT_REFERENCE, indirectReference, LITERAL, MODIFIED, MUST_BE_FLUSHED, MUST_BE_INDIRECT, NAME, NULL, NUMBER, ORIGINAL_OBJECT_STREAM, READ_ONLY, READING, STREAM, STRING, UNENCRYPTED| Constructor and Description |
|---|
PdfBoolean(boolean value)
Store a boolean value
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
copyContent(PdfObject from,
PdfDocument document)
Copies object content from object 'from'.
|
boolean |
equals(Object obj) |
protected void |
generateContent() |
byte |
getType()
Gets object type.
|
boolean |
getValue() |
int |
hashCode() |
protected PdfObject |
newInstance()
Creates new instance of object.
|
String |
toString() |
static PdfBoolean |
valueOf(boolean value)
Gets PdfBoolean existing static class variable equivalent for given boolean value.
|
compareContent, getInternalContent, hasContent, makeIndirect, setIndirectReferencecheckState, clearState, clone, copyTo, copyTo, flush, flush, getIndirectReference, isArray, isBoolean, isDictionary, isFlushed, isIndirect, isIndirectReference, isLiteral, isModified, isName, isNull, isNumber, isStream, isString, makeIndirect, release, setModified, setStatepublic static final PdfBoolean TRUE
public static final PdfBoolean FALSE
public PdfBoolean(boolean value)
value - value to storepublic boolean getValue()
public byte getType()
PdfObjectprotected void generateContent()
generateContent in class PdfPrimitiveObjectprotected PdfObject newInstance()
PdfObjectnewInstance in class PdfObjectprotected void copyContent(PdfObject from, PdfDocument document)
PdfObjectcopyContent in class PdfPrimitiveObjectfrom - object to copy content from.document - document to copy object to.public static PdfBoolean valueOf(boolean value)
PdfBoolean(boolean) constructor instead.value - boolean variable defining value of PdfBoolean to return.Copyright © 1998–2018 iText Group NV. All rights reserved.