com.etymon.pjx
Class PdfReader.ParserObject

java.lang.Object
  extended by com.etymon.pjx.PdfObject
      extended by com.etymon.pjx.PdfReader.ParserObject
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
PdfReader.ArrayEnd, PdfReader.DictionaryEnd, PdfReader.DictionaryEndStream
Enclosing class:
PdfReader

protected class PdfReader.ParserObject
extends PdfObject

The superclass of inner classes used by this PdfReader to mark positions while parsing PDF objects.


Constructor Summary
protected PdfReader.ParserObject()
           
 
Method Summary
protected  int writePdf(PdfWriter w, boolean spacing)
          Writes this object in PDF format.
 
Methods inherited from class com.etymon.pjx.PdfObject
clone, equals, filter, filterContents, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PdfReader.ParserObject

protected PdfReader.ParserObject()
Method Detail

writePdf

protected int writePdf(PdfWriter w,
                       boolean spacing)
                throws java.io.IOException
Description copied from class: PdfObject
Writes this object in PDF format.

Specified by:
writePdf in class PdfObject
Parameters:
w - the PdfWriter to write to.
spacing - specifies whether to add white-space before the object. A value of true enables the addition of white-space. If the object begins with a PDF delimiter, then this option is ignored and no white-space is written.
Returns:
the number of bytes written by this method.
Throws:
java.io.IOException