Class PdfLiteral
java.lang.Object
com.itextpdf.kernel.pdf.PdfObject
com.itextpdf.kernel.pdf.PdfPrimitiveObject
com.itextpdf.kernel.pdf.PdfLiteral
-
Field Summary
FieldsFields inherited from class PdfPrimitiveObject
content, directOnlyFields inherited from class PdfObject
ARRAY, 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 Summary
ConstructorsModifierConstructorDescriptionprivatePdfLiteral(byte[] content) PdfLiteral(int size) PdfLiteral(String content) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcopyContent(PdfObject from, PdfDocument document, ICopyFilter copyFilter) Copies object content from object 'from'.booleanprotected voidintlongbytegetType()Gets object type.inthashCode()protected PdfObjectCreates new instance of object.voidsetPosition(long position) toString()Methods inherited from class PdfPrimitiveObject
compareContent, getInternalContent, hasContent, makeIndirect, setIndirectReferenceMethods inherited from class PdfObject
checkState, clearState, clone, clone, containsIndirectReference, copyContent, copyTo, copyTo, copyTo, copyTo, equalContent, flush, flush, getIndirectReference, isArray, isBoolean, isDictionary, isFlushed, isIndirect, isIndirectReference, isLiteral, isModified, isName, isNull, isNumber, isReleaseForbidden, isStream, isString, makeIndirect, processCopying, processCopying, release, setModified, setState
-
Field Details
-
position
private long position
-
-
Constructor Details
-
PdfLiteral
public PdfLiteral(byte[] content) -
PdfLiteral
public PdfLiteral(int size) -
PdfLiteral
-
PdfLiteral
private PdfLiteral()
-
-
Method Details
-
getType
-
toString
-
getPosition
public long getPosition() -
setPosition
public void setPosition(long position) -
getBytesCount
public int getBytesCount() -
generateContent
protected void generateContent()- Specified by:
generateContentin classPdfPrimitiveObject
-
equals
-
hashCode
-
newInstance
Description copied from class:PdfObjectCreates new instance of object.- Specified by:
newInstancein classPdfObject- Returns:
- new instance of object.
-
copyContent
Description copied from class:PdfObjectCopies object content from object 'from'.- Overrides:
copyContentin classPdfPrimitiveObject- Parameters:
from- object to copy content from.document- document to copy object to.copyFilter-ICopyFiltera filter that will apply on dictionaries and array UseNullCopyFilterfor no filtering
-