de.intarsys.pdf.st
Class STXRefEntry
java.lang.Object
de.intarsys.pdf.st.STXRefEntry
- All Implemented Interfaces:
- Comparable
- Direct Known Subclasses:
- STXRefEntryCompressed, STXRefEntryFree, STXRefEntryOccupied
public abstract class STXRefEntry
- extends Object
- implements Comparable
Abstract superclass for a XRef entry.
The XRef entry describes an object slot in a XRef. The entry consists of an
offset in the file, a generation number and a token indicating if this entry
is free.
accept
public abstract void accept(de.intarsys.pdf.st.IXRefEntryVisitor visitor)
throws XRefEntryVisitorException
- Throws:
XRefEntryVisitorException
compareTo
public int compareTo(Object obj)
- Specified by:
compareTo
in interface Comparable
copy
public abstract STXRefEntry copy()
fill
public abstract STXRefEntryOccupied fill(int pos)
getColumn1
public abstract long getColumn1()
getColumn2
public abstract int getColumn2()
getGenerationNumber
public int getGenerationNumber()
getObjectNumber
public int getObjectNumber()
isFree
public abstract boolean isFree()
load
public abstract COSObject load(STDocument doc,
ISystemSecurityHandler securityHandler)
throws IOException,
COSLoadException
- Throws:
IOException
COSLoadException
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.