com.lowagie.text.pdf

Class PdfLiteral

public class PdfLiteral extends PdfObject

a Literal
Field Summary
intposition
Holds value of property position.
Constructor Summary
PdfLiteral(String text)
PdfLiteral(byte[] b)
PdfLiteral(int size)
PdfLiteral(int type, String text)
PdfLiteral(int type, byte[] b)
Method Summary
intgetPosition()
Getter for property position.
intgetPosLength()
Getter for property posLength.
voidtoPdf(PdfWriter writer, OutputStream os)

Field Detail

position

private int position
Holds value of property position.

Constructor Detail

PdfLiteral

public PdfLiteral(String text)

PdfLiteral

public PdfLiteral(byte[] b)

PdfLiteral

public PdfLiteral(int size)

PdfLiteral

public PdfLiteral(int type, String text)

PdfLiteral

public PdfLiteral(int type, byte[] b)

Method Detail

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.

toPdf

public void toPdf(PdfWriter writer, OutputStream os)