Class XmlSchema

  • All Implemented Interfaces:
    Schema

    public class XmlSchema
    extends java.lang.Object
    implements Schema
    • Constructor Summary

      Constructors 
      Constructor Description
      XmlSchema()  
      XmlSchema​(java.io.InputStream xmlStream)  
      XmlSchema​(java.net.URL 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 interface Schema
      • createSchema

        public void createSchema​(java.sql.Connection con)
                          throws java.sql.SQLException
        Specified by:
        createSchema in interface Schema
        Throws:
        java.sql.SQLException
      • dropSchema

        public void dropSchema​(java.sql.Connection con)
                        throws java.sql.SQLException
        Specified by:
        dropSchema in interface Schema
        Throws:
        java.sql.SQLException
      • main

        public static void main​(java.lang.String[] argv)