Class LSResourceAdapter

  • All Implemented Interfaces:
    org.w3c.dom.ls.LSResourceResolver

    public class LSResourceAdapter
    extends java.lang.Object
    implements org.w3c.dom.ls.LSResourceResolver
    This class implements the LSResourceResolver API.

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

    This is modified from the similarly named class in XMLResolver because it does not do namspace lookup
    • Constructor Summary

      Constructors 
      Constructor Description
      LSResourceAdapter​(org.xmlresolver.XMLResolver resolver)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.w3c.dom.ls.LSInput resolveResource​(java.lang.String type, java.lang.String namespaceURI, java.lang.String publicId, java.lang.String systemId, java.lang.String baseURI)  
      • Methods inherited from class java.lang.Object

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

      • LSResourceAdapter

        public LSResourceAdapter​(org.xmlresolver.XMLResolver resolver)
    • Method Detail

      • resolveResource

        public org.w3c.dom.ls.LSInput resolveResource​(java.lang.String type,
                                                      java.lang.String namespaceURI,
                                                      java.lang.String publicId,
                                                      java.lang.String systemId,
                                                      java.lang.String baseURI)
        Specified by:
        resolveResource in interface org.w3c.dom.ls.LSResourceResolver