Package net.sf.saxon.lib
Interface ResourceFactory
public interface ResourceFactory
A ResourceFactory is used for constructing a particular type of resource
-
Method Summary
Modifier and TypeMethodDescriptionmakeResource
(Configuration config, AbstractResourceCollection.InputDetails details) Create a Resource with given content
-
Method Details
-
makeResource
Resource makeResource(Configuration config, AbstractResourceCollection.InputDetails details) throws XPathException Create a Resource with given content- Parameters:
config
- the Saxon configurationdetails
- information about the resource, including some means of obtaining the content- Returns:
- the resource
- Throws:
XPathException
- if a failure occurs creating the resource
-