Class SchemaEntityResolver

  • All Implemented Interfaces:
    org.xml.sax.EntityResolver

    public class SchemaEntityResolver
    extends java.lang.Object
    implements org.xml.sax.EntityResolver
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.sql.Connection conn  
    • Constructor Summary

      Constructors 
      Constructor Description
      SchemaEntityResolver​(java.sql.Connection cnn)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.xml.sax.InputSource resolveEntity​(java.lang.String targetNS, java.lang.String systemId)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • conn

        protected java.sql.Connection conn
    • Constructor Detail

      • SchemaEntityResolver

        public SchemaEntityResolver​(java.sql.Connection cnn)
    • Method Detail

      • resolveEntity

        public org.xml.sax.InputSource resolveEntity​(java.lang.String targetNS,
                                                     java.lang.String systemId)
                                              throws org.xml.sax.SAXException,
                                                     java.io.IOException,
                                                     java.lang.RuntimeException
        Specified by:
        resolveEntity in interface org.xml.sax.EntityResolver
        Parameters:
        targetNS - Namespace
        systemId - URL
        Returns:
        Throws:
        org.xml.sax.SAXException
        java.io.IOException
        java.lang.RuntimeException