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, ICopyFilter copyFilter)
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, clone, copyContent, copyTo, copyTo, copyTo, copyTo, flush, flush, getIndirectReference, isArray, isBoolean, isDictionary, isFlushed, isIndirect, isIndirectReference, isLiteral, isModified, isName, isNull, isNumber, isReleaseForbidden, isStream, isString, makeIndirect, release, setModified, setStatepublic static final PdfBoolean TRUE
public static final PdfBoolean FALSE
public PdfBoolean(boolean value)
value - value to store
public boolean getValue()
public byte getType()
PdfObject
protected void generateContent()
generateContent in class PdfPrimitiveObject
protected PdfObject newInstance()
PdfObject
newInstance in class PdfObject
protected void copyContent(PdfObject from, PdfDocument document, ICopyFilter copyFilter)
PdfObject
copyContent in class PdfPrimitiveObject
from - object to copy content from.
document - document to copy object to.
copyFilter - ICopyFilter a filter that will apply on dictionaries and array Use NullCopyFilter for no filtering
public static PdfBoolean valueOf(boolean value)
PdfBoolean(boolean) constructor instead.
value - boolean variable defining value of PdfBoolean to return.
Copyright © 1998–2022 iText Group NV. All rights reserved.