public class URIResourceResolver
extends java.lang.Object
implements javax.xml.transform.URIResolver
Constructor and Description |
---|
URIResourceResolver(org.w3c.dom.ls.LSResourceResolver resolver) |
Modifier and Type | Method and Description |
---|---|
org.w3c.dom.ls.LSResourceResolver |
getLSResourceResolver() |
javax.xml.transform.Source |
resolve(java.lang.String href,
java.lang.String base)
Called by an XSLT processor when it encounters
an xsl:include, xsl:import, or document() function.
|
public URIResourceResolver(org.w3c.dom.ls.LSResourceResolver resolver)
public org.w3c.dom.ls.LSResourceResolver getLSResourceResolver()
public javax.xml.transform.Source resolve(java.lang.String href, java.lang.String base) throws javax.xml.transform.TransformerException
resolve
in interface javax.xml.transform.URIResolver
href
- An href attribute, which may be relative or absolute.base
- The base URI against which the first argument will be made
absolute if the absolute URI is required.javax.xml.transform.TransformerException
- if an error occurs when trying to
resolve the URI.Copyright (c) 2004-2020 Saxonica Limited. All rights reserved.