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, containsIndirectReference, 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 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, ICopyFilter copyFilter)
PdfObjectcopyContent in class PdfPrimitiveObjectfrom - 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 filteringpublic static PdfBoolean valueOf(boolean value)
PdfBoolean(boolean) constructor instead.value - boolean variable defining value of PdfBoolean to return.Copyright © 1998–2025 Apryse Group NV. All rights reserved.