Class Log4jEntityResolver

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

    public class Log4jEntityResolver
    extends java.lang.Object
    implements org.xml.sax.EntityResolver
    An EntityResolver specifically designed to return log4j.dtd which is embedded within the log4j jar file.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static Logger LOGGER  
      private static java.lang.String PUBLIC_ID  
    • 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
    • Constructor Detail

      • Log4jEntityResolver

        public Log4jEntityResolver()
    • Method Detail

      • resolveEntity

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