public class ObjectStreamXReference extends AbstractXReference
PDFXRefStream).| Constructor and Description |
|---|
ObjectStreamXReference(int objectStreamIndex,
COSObjectKey key,
COSBase object,
COSObjectKey parentKey)
Prepares a object stream entry reference for the given
COSObject in a PDF's crossreference stream
(PDFXRefStream). |
| Modifier and Type | Method and Description |
|---|---|
COSBase |
getObject()
Returns the
COSObject, that is described by this crossreference stream entry. |
int |
getObjectStreamIndex()
Returns the index of the
COSObject in it's containing object stream. |
COSObjectKey |
getParentKey()
Returns the
COSObjectKey of the object stream, that is containing the object. |
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 ObjectStreamXReference(int objectStreamIndex,
COSObjectKey key,
COSBase object,
COSObjectKey parentKey)
COSObject in a PDF's crossreference stream
(PDFXRefStream).objectStreamIndex - The index of the COSObject in the containing object stream.key - The COSObjectKey, that is represented by this entry.object - The COSObject, that is represented by this entry.parentKey - The COSObjectKey of the object stream, that is containing the object.public int getObjectStreamIndex()
COSObject in it's containing object stream.COSObject in it's containing object stream.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 COSBase getObject()
COSObject, that is described by this crossreference stream entry.COSObject, that is described by this crossreference stream entry.public COSObjectKey getParentKey()
COSObjectKey of the object stream, that is containing the object.COSObjectKey of the object stream, that is containing the object.public long getSecondColumnValue()
COSObjectKey of the object stream, that is containing the object represented by this entry - for entries
of this type..)public long getThirdColumnValue()
COSObject in the containing object stream - for entries of this type.)Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.