com.etymon.pjx
Class PdfNumber

java.lang.Object
  extended by com.etymon.pjx.PdfObject
      extended by com.etymon.pjx.PdfNumber
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
PdfFloat, PdfInteger, PdfLong

public abstract class PdfNumber
extends PdfObject

The abstract superclass of classes PdfInteger, PdfFloat, and PdfLong.


Constructor Summary
PdfNumber()
           
 
Method Summary
abstract  float getFloat()
          Returns the float value of this number.
abstract  int getInt()
          Returns the int value of this number.
abstract  long getLong()
          Returns the long value of this number.
 
Methods inherited from class com.etymon.pjx.PdfObject
clone, equals, filter, filterContents, hashCode, toString, writePdf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PdfNumber

public PdfNumber()
Method Detail

getInt

public abstract int getInt()
Returns the int value of this number.

Returns:
the int value.

getLong

public abstract long getLong()
Returns the long value of this number.

Returns:
the long value.

getFloat

public abstract float getFloat()
Returns the float value of this number.

Returns:
the float value.