Class ResourceEntityResolver

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

    public class ResourceEntityResolver
    extends Object
    implements EntityResolver, org.apache.xerces.xni.parser.XMLEntityResolver
    The resource entity resolver loads the grammars from the path IO.RESOURCE_XML. The path must be in the classname. Leading path or URL information in the XML stream are automatically removed.
    Author:
    Rainer Maximini, Thomas Sauer, Maximilian Hoffmann
    • Constructor Detail

      • ResourceEntityResolver

        public ResourceEntityResolver​(boolean validate)
      • ResourceEntityResolver

        public ResourceEntityResolver​(boolean validate,
                                      ClassLoader classLoader)
    • Method Detail

      • resolveEntity

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