public class DirectResourceResolver extends java.lang.Object implements ResourceResolver
ResourceResolverthat resolves requests using the direct, native capabilities of the platform. For example a "file:" URI is resolved by finding the file in filestore, and an "http:" URI is resolved by making an HTTP request.
|Constructor and Description|
|Modifier and Type||Method and Description|
Process a resource request to deliver a resource
public DirectResourceResolver(Configuration config)
public javax.xml.transform.Source resolve(ResourceRequest request) throws XPathException
request- the resource request
XPathException- if the request is invalid in some way, or if the identified resource is unsuitable, or if resolution is to fail rather than being delegated to another resolver.
Copyright (c) 2004-2022 Saxonica Limited. All rights reserved.