avignon.handlers
Class DatabaseTableHandler
java.lang.Object
avignon.handlers.DatabaseTableHandler
- All Implemented Interfaces:
- AvignonTagHandler
- public class DatabaseTableHandler
- extends java.lang.Object
- implements AvignonTagHandler
Defines the table to be used for other database handlers that it encloses. If this handler
is surrounded by a DatabaseState, it will attempt to preserve the contents of the table. If
no DatabaseState surrounds this tag, it only stores the table name for use by nested tags.
Attributes:
- name - Name of the table or view to be used.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DatabaseTableHandler
public DatabaseTableHandler()
DatabaseTableHandler
public DatabaseTableHandler(java.lang.String table)
start
public void start(AvignonTestState state,
org.xml.sax.Attributes attributes)
- Preserves the state of the named table.
- Specified by:
start in interface AvignonTagHandler
- Parameters:
state - attributes -
end
public void end(AvignonTestState state)
- Restores the state of the named table.
- Specified by:
end in interface AvignonTagHandler
- Parameters:
state -