Package com.mchange.v1.db.sql
Class XmlSchema
- java.lang.Object
-
- com.mchange.v1.db.sql.XmlSchema
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createSchema(java.sql.Connection con)
void
dropSchema(java.sql.Connection con)
java.lang.String
getStatementText(java.lang.String appName, java.lang.String stmtName)
static void
main(java.lang.String[] argv)
void
parse(java.io.InputStream is)
-
-
-
Constructor Detail
-
XmlSchema
public XmlSchema(java.net.URL xmlSchema) throws org.xml.sax.SAXException, java.io.IOException, javax.xml.parsers.ParserConfigurationException
- Throws:
org.xml.sax.SAXException
java.io.IOException
javax.xml.parsers.ParserConfigurationException
-
XmlSchema
public XmlSchema(java.io.InputStream xmlStream) throws org.xml.sax.SAXException, java.io.IOException, javax.xml.parsers.ParserConfigurationException
- Throws:
org.xml.sax.SAXException
java.io.IOException
javax.xml.parsers.ParserConfigurationException
-
XmlSchema
public XmlSchema()
-
-
Method Detail
-
parse
public void parse(java.io.InputStream is) throws org.xml.sax.SAXException, java.io.IOException, javax.xml.parsers.ParserConfigurationException
- Throws:
org.xml.sax.SAXException
java.io.IOException
javax.xml.parsers.ParserConfigurationException
-
getStatementText
public java.lang.String getStatementText(java.lang.String appName, java.lang.String stmtName)
- Specified by:
getStatementText
in interfaceSchema
-
createSchema
public void createSchema(java.sql.Connection con) throws java.sql.SQLException
- Specified by:
createSchema
in interfaceSchema
- Throws:
java.sql.SQLException
-
dropSchema
public void dropSchema(java.sql.Connection con) throws java.sql.SQLException
- Specified by:
dropSchema
in interfaceSchema
- Throws:
java.sql.SQLException
-
main
public static void main(java.lang.String[] argv)
-
-