intarsys PDF library API

de.intarsys.pdf.st
Class AbstractXRefWriter

java.lang.Object
  extended by de.intarsys.pdf.st.AbstractXRefWriter
Direct Known Subclasses:
XRefStreamWriter, XRefTrailerWriter

public abstract class AbstractXRefWriter
extends Object

An abstract superclass for implementing a XRef serializer.


Field Summary
static byte[] STARTXREF
           
 
Constructor Summary
AbstractXRefWriter(COSWriter cosWriter)
           
 
Method Summary
 COSWriter getCosWriter()
           
 void visitFromCompressed(STXRefEntryCompressed entry)
           
 void visitFromFree(STXRefEntryFree entry)
           
 void visitFromOccupied(STXRefEntryOccupied entry)
           
 void writeXRef(STXRefSection xRefSection)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STARTXREF

public static final byte[] STARTXREF
Constructor Detail

AbstractXRefWriter

public AbstractXRefWriter(COSWriter cosWriter)
Method Detail

getCosWriter

public COSWriter getCosWriter()

visitFromCompressed

public void visitFromCompressed(STXRefEntryCompressed entry)
                         throws XRefEntryVisitorException
Throws:
XRefEntryVisitorException

visitFromFree

public void visitFromFree(STXRefEntryFree entry)
                   throws XRefEntryVisitorException
Throws:
XRefEntryVisitorException

visitFromOccupied

public void visitFromOccupied(STXRefEntryOccupied entry)
                       throws XRefEntryVisitorException
Throws:
XRefEntryVisitorException

writeXRef

public void writeXRef(STXRefSection xRefSection)
               throws IOException
Throws:
IOException

intarsys PDF library API

Copyright © 2006 intarsys consulting GmbH. All Rights Reserved.