info.informatica.text.format
Class TemplateItem
java.lang.Object
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
TemplateItem
public TemplateItem(String name,
ObjectFormat format,
int pos)
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