de.intarsys.pdf.st
Class STXRefEntryFree
java.lang.Object
de.intarsys.pdf.st.STXRefEntry
de.intarsys.pdf.st.STXRefEntryFree
- All Implemented Interfaces:
- Comparable
public class STXRefEntryFree
- extends STXRefEntry
Represents a free object entry in a pdf xref table.
STXRefEntryFree
public STXRefEntryFree(COSObjectKey key,
int nextFreeObject)
getColumn1
public long getColumn1()
- Specified by:
getColumn1
in class STXRefEntry
getColumn2
public int getColumn2()
- Specified by:
getColumn2
in class STXRefEntry
isFree
public boolean isFree()
- Specified by:
isFree
in class STXRefEntry
getNextFreeObjectNumber
public int getNextFreeObjectNumber()
enqueue
public void enqueue(STXRefEntryFree entry)
- Add a new free entry in the linked list of free entries. The linked list
is formed by the head entry with index 0. This entry and all subsequent
hold a reference to their successor and predecessor. Adding a new entry
means that we look up the entry in the linked list, starting at the head,
that has the highest index smaller than the index of the new entry. The
new entry is inserted after that position in the linked list.
- Parameters:
entry
- The new entry to insert in the linked list.
fill
public STXRefEntryOccupied fill(int pos)
- Specified by:
fill
in class STXRefEntry
load
public COSObject load(STDocument doc,
ISystemSecurityHandler securityHandler)
- Specified by:
load
in class STXRefEntry
accept
public void accept(de.intarsys.pdf.st.IXRefEntryVisitor visitor)
throws XRefEntryVisitorException
- Specified by:
accept
in class STXRefEntry
- Throws:
XRefEntryVisitorException
copy
public STXRefEntry copy()
- Specified by:
copy
in class STXRefEntry
Copyright © 2006 intarsys consulting GmbH. All Rights Reserved.