public class PDFInteger extends PDFObject
A PDFInteger represents a single integer value, and may be inserted into any collection object.
| Constructor and Description |
|---|
PDFInteger(int value,
Document doc,
boolean indirect)
General constructor
|
PDFInteger(int value,
PDFObject docFromObj,
boolean indirect)
General constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
int |
getValue()
Integer value of this object.
|
java.lang.String |
toString() |
clone, clone, clone, clone, clone, compareTo, destroy, enumPDFObjects, equals, getDocument, getGeneration, getID, getIndirect, getPDFHashValuepublic PDFInteger(int value,
Document doc,
boolean indirect)
value - Integer value of this PDFIntegerdoc - Document object containing this PDFIntegerindirect - flag marking this as an indirect PDFObjectpublic PDFInteger(int value,
PDFObject docFromObj,
boolean indirect)
value - Integer value of this PDFIntegerdocFromObj - The new PDFArray will be created in the same document as this object.indirect - flag marking this as an indirect PDFObject