Class XercesXniAdapter

  • All Implemented Interfaces:
    org.apache.xerces.xni.parser.XMLEntityResolver

    public class XercesXniAdapter
    extends java.lang.Object
    implements org.apache.xerces.xni.parser.XMLEntityResolver
    This class implements the XMLEntityResolver API.

    It's a separate class in order to avoid a compile-time dependency on the Xerces API for users of XMLResolver who don't use it.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.xerces.xni.parser.XMLInputSource resolveEntity​(org.apache.xerces.xni.XMLResourceIdentifier resId)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XercesXniAdapter

        public XercesXniAdapter​(XMLResolver resolver)
    • Method Detail

      • resolveEntity

        public org.apache.xerces.xni.parser.XMLInputSource resolveEntity​(org.apache.xerces.xni.XMLResourceIdentifier resId)
                                                                  throws org.apache.xerces.xni.XNIException,
                                                                         java.io.IOException
        Specified by:
        resolveEntity in interface org.apache.xerces.xni.parser.XMLEntityResolver
        Throws:
        org.apache.xerces.xni.XNIException
        java.io.IOException