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.

    • 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

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

      • LSResourceAdapter

        public LSResourceAdapter​(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