|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.sqlunit.handlers.IncludeHandler
public class IncludeHandler
The IncludeHandler reads and executes SQL statements specified in a included file. The format of the include file is a sequence of valid SQL statements (usually updates and inserts) separated by lines containing a single semi-colon (;) or slash (/) character. The semi-colon or slash character must be the first character in the line and the rest of the line must be empty. Alternatively, a line terminated by the semi-colon (;) character can also be used to signal the end of the SQL statement.Comments can appear in the include file as well, and uses the standard -- comment syntax of SQL.
Constructor Summary | |
---|---|
IncludeHandler()
|
Method Summary | |
---|---|
java.lang.Object |
process(org.jdom.Element elInclude)
Processes the JDOM Element representing the include tag and runs the SQL statement specified in the file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IncludeHandler()
Method Detail |
---|
public final java.lang.Object process(org.jdom.Element elInclude) throws java.lang.Exception
process
in interface IHandler
elInclude
- the JDOM Element representing the include tag.
java.lang.Exception
- if something went wrong processing the include.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |