PDF Clown
0.0.8

it.stefanochizzolini.clown.objects
Class PdfInteger

java.lang.Object
  extended by it.stefanochizzolini.clown.objects.PdfObject
      extended by it.stefanochizzolini.clown.objects.PdfDataObject
          extended by it.stefanochizzolini.clown.objects.PdfDirectObject
              extended by it.stefanochizzolini.clown.objects.PdfAtomicObject<Integer>
                  extended by it.stefanochizzolini.clown.objects.PdfInteger
All Implemented Interfaces:
IPdfNumber, Cloneable, Comparable<PdfDirectObject>

public class PdfInteger
extends PdfAtomicObject<Integer>
implements IPdfNumber

PDF integer number object [PDF:1.6:3.2.2].

Version:
0.0.8
Author:
Stefano Chizzolini (http://www.stefanochizzolini.it)

Constructor Summary
PdfInteger(int value)
           
 
Method Summary
 Object clone(File context)
          Gets the clone of the object, registered inside the given file context.
 int compareTo(PdfDirectObject obj)
           
 double getNumberValue()
           
 void setNumberValue(double value)
           
 void translateNumberValue(double value)
           
 void writeTo(IOutputStream stream)
          Serializes the object to the given stream.
 
Methods inherited from class it.stefanochizzolini.clown.objects.PdfAtomicObject
clone, getRawValue, getValue, setRawValue, setValue, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PdfInteger

public PdfInteger(int value)
Method Detail

clone

public Object clone(File context)
Description copied from class: PdfObject
Gets the clone of the object, registered inside the given file context.

Specified by:
clone in class PdfObject

compareTo

public int compareTo(PdfDirectObject obj)
Specified by:
compareTo in interface Comparable<PdfDirectObject>
Specified by:
compareTo in class PdfDirectObject

writeTo

public void writeTo(IOutputStream stream)
Description copied from class: PdfObject
Serializes the object to the given stream.

Specified by:
writeTo in class PdfObject

getNumberValue

public double getNumberValue()
Specified by:
getNumberValue in interface IPdfNumber

setNumberValue

public void setNumberValue(double value)
Specified by:
setNumberValue in interface IPdfNumber

translateNumberValue

public void translateNumberValue(double value)
Specified by:
translateNumberValue in interface IPdfNumber

PDF Clown
0.0.8

Project home page

Copyright © 2006-2010 Stefano Chizzolini. Some Rights Reserved.
This documentation is available under the terms of the GNU Free Documentation License.