org.extex.pdf.api.id
Class NumIdSpec

java.lang.Object
  extended by org.extex.pdf.api.id.IdSpec
      extended by org.extex.pdf.api.id.NumIdSpec
All Implemented Interfaces:
java.io.Serializable

public class NumIdSpec
extends IdSpec

This class carries an id based on a number.

Version:
$Revision$
Author:
Gerd Neugebauer
See Also:
Serialized Form

Constructor Summary
NumIdSpec(long num)
          Creates a new object.
 
Method Summary
 long getNum()
          Getter for the number.
 java.lang.String toString()
          Returns a string representation of the object.
 
Methods inherited from class org.extex.pdf.api.id.IdSpec
parseIdSpec
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NumIdSpec

public NumIdSpec(long num)
Creates a new object.

Parameters:
num - the num
Method Detail

getNum

public long getNum()
Getter for the number.

Returns:
the number

toString

public java.lang.String toString()
Returns a string representation of the object.

Overrides:
toString in class java.lang.Object
Returns:
a string representation of the object.
See Also:
Object.toString()