Class PdfLiteral
java.lang.Object
com.aowagie.text.pdf.PdfObject
com.aowagie.text.pdf.PdfLiteral
a Literal
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGetter for property position.intGetter for property posLength.voidtoPdf(PdfWriter writer, OutputStream os) Writes the PDF representation of thisPdfObjectas an array ofbytes to the writer.
-
Constructor Details
-
PdfLiteral
-
-
Method Details
-
toPdf
Description copied from class:PdfObjectWrites the PDF representation of thisPdfObjectas an array ofbytes to the writer.- Overrides:
toPdfin classPdfObject- Parameters:
writer- for backwards compatibilityos- TheOutputStreamto write the bytes to.- Throws:
IOException- Exception with a I/O error
-
getPosition
public int getPosition()Getter for property position.- Returns:
- Value of property position.
-
getPosLength
public int getPosLength()Getter for property posLength.- Returns:
- Value of property posLength.
-