public abstract class PdfObject extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
_genNumber
PDF generation number.
|
protected int |
_objNumber
PDF object number.
|
Constructor and Description |
---|
PdfObject()
Superclass constructor for which the object and generation
number will be added separately or not at all.
|
PdfObject(int objNumber,
int genNumber)
Superclass constructor which should be called for all
PdfObject instances that include an object and generation
number.
|
Modifier and Type | Method and Description |
---|---|
int |
getGenNumber()
Returns the PDF generation number.
|
int |
getObjNumber()
Returns the PDF object number.
|
void |
setGenNumber(int num)
Sets the PDF generation number.
|
void |
setObjNumber(int num)
Sets the PDF object number.
|
protected int _objNumber
protected int _genNumber
public PdfObject(int objNumber, int genNumber)
objNumber
- The PDF object numbergenNumber
- The PDF generation numberpublic PdfObject()
public int getObjNumber()
public int getGenNumber()
public void setObjNumber(int num)
public void setGenNumber(int num)
Copyright © 2008–2017 The Open Preservation Foundation. All rights reserved.