info.informatica.text.format
Class TemplateItem

java.lang.Object
  extended by info.informatica.text.format.TemplateItem

public final class TemplateItem
extends Object

One of the items in a FormatPrinter.

Version:
1.01
Author:
amengual at informatica dot info

Constructor Summary
TemplateItem(String name, ObjectFormat format, int pos)
           
 
Method Summary
 ObjectFormat getFormat()
          Gets the format for this item.
 String getName()
          Gets the name (identifier) of this item.
 int getPos()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TemplateItem

public TemplateItem(String name,
                    ObjectFormat format,
                    int pos)
Method Detail

getName

public String getName()
Gets the name (identifier) of this item.

Returns:
the name.

getFormat

public ObjectFormat getFormat()
Gets the format for this item.

Returns:
the ObjectFormat format.

getPos

public int getPos()

toString

public String toString()
Overrides:
toString in class Object