org.extex.pdf.api.id
Class NameIdSpec

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

public class NameIdSpec
extends IdSpec

This class carries an id based on a name.

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

Constructor Summary
NameIdSpec(java.lang.String name)
          Creates a new object.
 
Method Summary
 java.lang.String getName()
          Getter for name.
 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

NameIdSpec

public NameIdSpec(java.lang.String name)
Creates a new object.

Parameters:
name - the name
Method Detail

getName

public java.lang.String getName()
Getter for name.

Returns:
the name

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()