public class FreeXReference extends AbstractXReference
PDFXRefStream).| Modifier and Type | Field and Description |
|---|---|
static FreeXReference |
NULL_ENTRY |
| Constructor and Description |
|---|
FreeXReference(COSObjectKey key,
long nextFreeObject)
Sets the given
COSObjectKey as a free reference in a PDF's crossreference stream (PDFXRefStream). |
| Modifier and Type | Method and Description |
|---|---|
COSObjectKey |
getReferencedKey()
Returns the
COSObjectKey of the object, that is described by this crossreference stream entry. |
long |
getSecondColumnValue()
Returns the value for the second column of the crossreference stream entry.
|
long |
getThirdColumnValue()
Returns the value for the third column of the crossreference stream entry.
|
String |
toString()
Returns a string representation of this crossreference stream entry.
|
compareTo, getFirstColumnValue, getTypepublic static final FreeXReference NULL_ENTRY
public FreeXReference(COSObjectKey key, long nextFreeObject)
COSObjectKey as a free reference in a PDF's crossreference stream (PDFXRefStream).key - The key, that shall be set as the free reference of the document.nextFreeObject - The object number of the next free object.public COSObjectKey getReferencedKey()
COSObjectKey of the object, that is described by this crossreference stream entry.COSObjectKey of the object, that is described by this crossreference stream entry.public long getSecondColumnValue()
COSObjectKey - for entries of this type.)public long getThirdColumnValue()
COSObjectKey - for entries of this type.)Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.