|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectavignon.handlers.DatabaseUpdateHandler
Executes a SQL UPDATE statement. The name of the table to be updated is defined by a surrounding DatabaseTable tag. The SET clause is defined by any enclosed UpdateField tags.
Attributes:
| Constructor Summary | |
DatabaseUpdateHandler()
|
|
| Method Summary | |
void |
appendFieldUpdate(java.lang.String name,
java.lang.String value)
Adds a field to be updated at the end of the tag. |
void |
end(AvignonTestState state)
Called when the tag is closed. |
void |
start(AvignonTestState state,
org.xml.sax.Attributes attributes)
Called when the tag is first encountered. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DatabaseUpdateHandler()
| Method Detail |
public void appendFieldUpdate(java.lang.String name,
java.lang.String value)
name - Name of the column to update.value - SQL clause that will go on the right-hand side of a SET clause.
public void start(AvignonTestState state,
org.xml.sax.Attributes attributes)
AvignonTagHandler
start in interface AvignonTagHandlerstate - attributes - public void end(AvignonTestState state)
AvignonTagHandler
end in interface AvignonTagHandlerstate -
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||