|
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<Double>
org.pdfclown.objects.PdfReal
public final class PdfReal
PDF real number object [PDF:1.6:3.2.2].
| Constructor Summary | |
|---|---|
PdfReal(double value)
|
|
| Method Summary | |
|---|---|
PdfObject |
accept(IVisitor visitor,
Object data)
Accepts a visit. |
static PdfReal |
get(Number 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. |
Double |
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 |
| Constructor Detail |
|---|
public PdfReal(double value)
| Method Detail |
|---|
public static PdfReal get(Number value)
public PdfObject accept(IVisitor visitor,
Object data)
IVisitable
visitor - Visiting object.data - Supplemental data.
public double getDoubleValue()
PdfNumber
getDoubleValue in class PdfNumber<Double>public float getFloatValue()
PdfNumber
getFloatValue in class PdfNumber<Double>public int getIntValue()
PdfNumber
getIntValue in class PdfNumber<Double>public Double getValue()
PdfSimpleObject
getValue in class PdfNumber<Double>
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<Double>PdfSimpleObject.getValue()
|
PDF Clown 0.1.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||