avignon.handlers
Class DatabaseTableHandler

java.lang.Object
  extended byavignon.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:


Constructor Summary
DatabaseTableHandler()
           
DatabaseTableHandler(java.lang.String table)
           
 
Method Summary
 void end(AvignonTestState state)
          Restores the state of the named table.
 void start(AvignonTestState state, org.xml.sax.Attributes attributes)
          Preserves the state of the named table.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatabaseTableHandler

public DatabaseTableHandler()

DatabaseTableHandler

public DatabaseTableHandler(java.lang.String table)
Method Detail

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 -

SourceForge.net Logo