com.mchange.v1.db.sql
Class XmlSchema
java.lang.Object
com.mchange.v1.db.sql.XmlSchema
- All Implemented Interfaces:
- Schema
public class XmlSchema
- extends Object
- implements Schema
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlSchema
public XmlSchema(URL xmlSchema)
throws SAXException,
IOException,
ParserConfigurationException
- Throws:
SAXException
IOException
ParserConfigurationException
XmlSchema
public XmlSchema(InputStream xmlStream)
throws SAXException,
IOException,
ParserConfigurationException
- Throws:
SAXException
IOException
ParserConfigurationException
XmlSchema
public XmlSchema()
parse
public void parse(InputStream is)
throws SAXException,
IOException,
ParserConfigurationException
- Throws:
SAXException
IOException
ParserConfigurationException
getStatementText
public String getStatementText(String appName,
String stmtName)
- Specified by:
getStatementText
in interface Schema
createSchema
public void createSchema(Connection con)
throws SQLException
- Specified by:
createSchema
in interface Schema
- Throws:
SQLException
dropSchema
public void dropSchema(Connection con)
throws SQLException
- Specified by:
dropSchema
in interface Schema
- Throws:
SQLException
main
public static void main(String[] argv)