Class MyEntityResolver

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

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

      Fields 
      Modifier and Type Field Description
      private boolean blockExternal  
    • Constructor Summary

      Constructors 
      Constructor Description
      MyEntityResolver​(boolean blockExternal)  
    • Method Summary

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

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

      • blockExternal

        private boolean blockExternal
    • Constructor Detail

      • MyEntityResolver

        MyEntityResolver​(boolean blockExternal)
    • Method Detail

      • resolveEntity

        public org.xml.sax.InputSource resolveEntity​(java.lang.String publicId,
                                                     java.lang.String systemId)
                                              throws org.xml.sax.SAXException
        Specified by:
        resolveEntity in interface org.xml.sax.EntityResolver
        Throws:
        org.xml.sax.SAXException