Class ForkEntityResolver

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

    public class ForkEntityResolver
    extends java.lang.Object
    implements org.xml.sax.EntityResolver
    EntityResolver that delegates to two EntityResolvers.
    Author:
    Kohsuke Kawaguchi
    • Constructor Summary

      Constructors 
      Constructor Description
      ForkEntityResolver​(org.xml.sax.EntityResolver lhs, org.xml.sax.EntityResolver rhs)  
    • 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

      • ForkEntityResolver

        public ForkEntityResolver​(org.xml.sax.EntityResolver lhs,
                                  org.xml.sax.EntityResolver rhs)
    • Method Detail

      • resolveEntity

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