public class PdfLiteral extends PdfPrimitiveObject
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 |
|---|
PdfLiteral(byte[] content) |
PdfLiteral(int size) |
PdfLiteral(String content) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
copyContent(PdfObject from, PdfDocument document, ICopyFilter copyFilter)
Copies object content from object 'from'.
|
boolean |
equals(Object o) |
protected void |
generateContent() |
int |
getBytesCount() |
long |
getPosition() |
byte |
getType()
Gets object type.
|
int |
hashCode() |
protected PdfObject |
newInstance()
Creates new instance of object.
|
void |
setPosition(long position) |
String |
toString() |
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 PdfLiteral(byte[] content)
public PdfLiteral(int size)
public PdfLiteral(String content)
public byte getType()
PdfObject
public long getPosition()
public void setPosition(long position)
public int getBytesCount()
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
Copyright © 1998–2022 iText Group NV. All rights reserved.