PJX

com.etymon.pjx
Class PdfNumber

java.lang.Object
  extended bycom.etymon.pjx.PdfObject
      extended bycom.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, hashCode, toString
 
Methods inherited from class java.lang.Object
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.

Copyright © 1998-2004 Etymon Systems, Inc.

The PDF data structures, operators, and specification are
Copyright © 1985-2004 Adobe Systems Incorporated.