01: /*
02: Copyright (C) Etymon Systems, Inc. <http://www.etymon.com/>
03: */
04:
05: package com.etymon.pjx;
06:
07: import java.io.*;
08:
09: /**
10: The abstract superclass of classes <code>PdfInteger</code>,
11: <code>PdfFloat</code>, and <code>PdfLong</code>.
12: @author Nassib Nassar
13: */
14: public abstract class PdfNumber extends PdfObject {
15:
16: /**
17: Returns the int value of this number.
18: @return the int value.
19: */
20: public abstract int getInt();
21:
22: /**
23: Returns the long value of this number.
24: @return the long value.
25: */
26: public abstract long getLong();
27:
28: /**
29: Returns the float value of this number.
30: @return the float value.
31: */
32: public abstract float getFloat();
33:
34: }
|