org.ujac.print
Interface ItemHolder

All Known Implementing Classes:
ItemsTag, ParameterTag

public interface ItemHolder

Name: ItemHolder
Description: An interface for item holding tags.

Author:
lauerc

Method Summary
 void addItem(Object item)
          Adds the given item to the item holder's container.
 Object parseItem(String text)
          Parses a value from the given text according to the rules of the item holder's container.
 

Method Detail

addItem

void addItem(Object item)
             throws TagAttributeException
Adds the given item to the item holder's container.

Parameters:
item - The item to add.
Throws:
TagAttributeException - In case the adding of the item has been failed.

parseItem

Object parseItem(String text)
                 throws TagAttributeException
Parses a value from the given text according to the rules of the item holder's container.

Parameters:
text - The text to parse.
Returns:
The parsed value.
Throws:
TagAttributeException - In case the adding of the item has been failed.


Copyright © 2003-2004 UJAC.org. All Rights Reserved.