class PdfLiteral extends PdfObject {

    /**
     * Holds value of property position.
     */
    private long position;

    public PdfLiteral(String text) {
        super(0, text);
    }

    public PdfLiteral(byte[] b) {
        super(0, b);
    }

    public PdfLiteral(int size) {
        super(0, (byte[]) null);
        bytes = new byte[size];
        java.util.Arrays.fill(bytes, (byte) 32);
    }

    public PdfLiteral(int type, String text) {
        super(type, text);
    }

    public PdfLiteral(int type, byte[] b) {
        super(type, b);
    }

    public void toPdf(PdfWriter writer, java.io.OutputStream os) throws java.io.IOException {
        if (os instanceof OutputStreamCounter) {
            position = ((OutputStreamCounter) os).getCounter();
        }
        super.toPdf(writer, os);
    }

    /**
     * Getter for property position.
     *
     * @return Value of property position.
     */
    public long getPosition() {
        return this.position;
    }

    /**
     * Getter for property posLength.
     *
     * @return Value of property posLength.
     */
    public int getPosLength() {<FILL_FUNCTION_BODY>}

}

        if (bytes != null) {
            return bytes.length;
        } else {
            return 0;
        }
    
<methods>public boolean canBeInObjStm() ,public byte[] getBytes() ,public com.lowagie.text.pdf.PRIndirectReference getIndRef() ,public boolean isArray() ,public boolean isBoolean() ,public boolean isDictionary() ,public boolean isIndirect() ,public boolean isName() ,public boolean isNull() ,public boolean isNumber() ,public boolean isStream() ,public boolean isString() ,public int length() ,public void setIndRef(com.lowagie.text.pdf.PRIndirectReference) ,public void toPdf(com.lowagie.text.pdf.PdfWriter, java.io.OutputStream) throws java.io.IOException,public java.lang.String toString() ,public int type() <variables>public static final int ARRAY,public static final int BOOLEAN,public static final int DICTIONARY,public static final int INDIRECT,public static final int NAME,public static final java.lang.String NOTHING,public static final int NULL,public static final int NUMBER,public static final int STREAM,public static final int STRING,public static final java.lang.String TEXT_PDFDOCENCODING,public static final java.lang.String TEXT_UNICODE,protected byte[] bytes,protected com.lowagie.text.pdf.PRIndirectReference indRef,protected int type