Class LSPXMLEntityResolver

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

    public class LSPXMLEntityResolver
    extends Object
    implements org.apache.xerces.xni.parser.XMLEntityResolver
    XMLEntityResolver used when XML, XSD, DTD is validated and declared some external resources (with DOCTYPE, xsi:schemaLocation, etc). This resolver catches the CacheResourceException to collect all futures which loads the external resources.
    Author:
    Angelo ZERR
    • Constructor Detail

      • LSPXMLEntityResolver

        public LSPXMLEntityResolver​(org.apache.xerces.xni.parser.XMLEntityResolver entityResolver,
                                    DiagnosticsResult diagnostics)
    • Method Detail

      • resolveEntity

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