|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pdfbox.pdfwriter.COSWriterXRefEntry
public class COSWriterXRefEntry
this is en entry in the xref section of the physical pdf document generated by the COSWriter.
Constructor Summary | |
---|---|
COSWriterXRefEntry(long start,
COSBase obj,
COSObjectKey keyValue)
COSWriterXRefEntry constructor comment. |
Method Summary | |
---|---|
int |
compareTo(COSWriterXRefEntry obj)
|
COSObjectKey |
getKey()
This will get the Object key. |
static COSWriterXRefEntry |
getNullEntry()
This will return a null entry: 0000000000 65535 f |
COSBase |
getObject()
This will get the object. |
long |
getOffset()
This will get the offset into the document. |
boolean |
isFree()
Gets the xref 'free' attribute. |
void |
setFree(boolean newFree)
This will set the free attribute. |
void |
setOffset(long newOffset)
The offset attribute. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public COSWriterXRefEntry(long start, COSBase obj, COSObjectKey keyValue)
start
- The start attribute.obj
- The COS object that this entry represents.keyValue
- The key to the COS object.Method Detail |
---|
public int compareTo(COSWriterXRefEntry obj)
compareTo
in interface Comparable<COSWriterXRefEntry>
public static COSWriterXRefEntry getNullEntry()
public COSObjectKey getKey()
public long getOffset()
public boolean isFree()
public void setFree(boolean newFree)
newFree
- The newly freed attribute.public void setOffset(long newOffset)
newOffset
- The new value for the offset.public COSBase getObject()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |