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.
isFree
public abstract boolean isFree()
getGenerationNumber
public int getGenerationNumber()
compareTo
public int compareTo(Object obj)
- Specified by:
compareTo
in interface Comparable
fill
public abstract STXRefEntryOccupied fill(int pos)
getObjectNumber
public int getObjectNumber()
toString
public String toString()
- Overrides:
toString
in class Object
load
public abstract COSObject load(STDocument doc,
ISystemSecurityHandler securityHandler)
throws IOException,
COSLoadException
- Throws:
IOException
COSLoadException
getColumn1
public abstract long getColumn1()
getColumn2
public abstract int getColumn2()
getKey
public COSObjectKey getKey()
accept
public abstract void accept(de.intarsys.pdf.st.IXRefEntryVisitor visitor)
throws XRefEntryVisitorException
- Throws:
XRefEntryVisitorException
copy
public abstract STXRefEntry copy()
Copyright © 2006 intarsys consulting GmbH. All Rights Reserved.