Package org.verapdf.cos.xref
Class COSXRefInfo
- java.lang.Object
-
- org.verapdf.cos.xref.COSXRefInfo
-
public class COSXRefInfo extends Object
Class represents xref section with trailer.- Author:
- Timur Kamalov
-
-
Constructor Summary
Constructors Constructor Description COSXRefInfo()Creates empty COSXrefInfo object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetStartXRef()COSTrailergetTrailer()COSXRefSectiongetXRefSection()voidsetStartXRef(long startXRef)Sets offset of xref section.voidsetTrailer(COSObject object)Sets trailer of this section.voidsetXref(COSXRefSection xref)Sets xref section object.
-
-
-
Method Detail
-
getStartXRef
public long getStartXRef()
- Returns:
- offset of xref section.
-
setStartXRef
public void setStartXRef(long startXRef)
Sets offset of xref section.
-
getXRefSection
public COSXRefSection getXRefSection()
- Returns:
- xref section object.
-
setXref
public void setXref(COSXRefSection xref)
Sets xref section object.
-
getTrailer
public COSTrailer getTrailer()
- Returns:
- trailer of this section.
-
setTrailer
public void setTrailer(COSObject object)
Sets trailer of this section.
-
-