|
PDF Clown 0.1.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pdfclown.objects.PdfObject
org.pdfclown.objects.PdfDataObject
org.pdfclown.objects.PdfDirectObject
org.pdfclown.objects.PdfSimpleObject<TValue>
org.pdfclown.objects.PdfNumber<Integer>
org.pdfclown.objects.PdfInteger
public final class PdfInteger
PDF integer number object [PDF:1.6:3.2.2].
| Field Summary | |
|---|---|
static PdfInteger |
Default
|
| Constructor Summary | |
|---|---|
PdfInteger(int value)
|
|
| Method Summary | |
|---|---|
PdfObject |
accept(IVisitor visitor,
Object data)
Accepts a visit. |
static PdfInteger |
get(Integer value)
Gets the object equivalent to the given value. |
double |
getDoubleValue()
Gets the double-precision floating-point representation of the value. |
float |
getFloatValue()
Gets the floating-point representation of the value. |
int |
getIntValue()
Gets the integer representation of the value. |
Integer |
getValue()
Gets the high-level representation of the value. |
protected void |
setValue(Object value)
|
void |
writeTo(IOutputStream stream,
File context)
Serializes this object to the specified stream. |
| Methods inherited from class org.pdfclown.objects.PdfNumber |
|---|
compareTo, equals, hashCode |
| Methods inherited from class org.pdfclown.objects.PdfSimpleObject |
|---|
clone, get, getParent, getRawValue, getValue, getValue, isUpdateable, isUpdated, isVirtual, setRawValue, setUpdateable, setUpdated, setVirtual, swap, toString |
| Methods inherited from class org.pdfclown.objects.PdfObject |
|---|
clone, clone, getContainer, getDataContainer, getFile, getIndirectObject, getReference, resolve, resolve, unresolve, unresolve, update |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final PdfInteger Default
| Constructor Detail |
|---|
public PdfInteger(int value)
| Method Detail |
|---|
public static PdfInteger get(Integer value)
public PdfObject accept(IVisitor visitor,
Object data)
IVisitable
visitor - Visiting object.data - Supplemental data.
public double getDoubleValue()
PdfNumber
getDoubleValue in class PdfNumber<Integer>public float getFloatValue()
PdfNumber
getFloatValue in class PdfNumber<Integer>public int getIntValue()
PdfNumber
getIntValue in class PdfNumber<Integer>public Integer getValue()
PdfSimpleObject
getValue in class PdfNumber<Integer>
public void writeTo(IOutputStream stream,
File context)
PdfObject
writeTo in class PdfObjectstream - Target stream.context - File context.protected void setValue(Object value)
setValue in class PdfSimpleObject<Integer>PdfSimpleObject.getValue()
|
PDF Clown 0.1.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||