Package net.sf.saxon.lib
Interface ResourceFactory
-
public interface ResourceFactory
A ResourceFactory is used for constructing a particular type of resource
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Resource
makeResource(Configuration config, AbstractResourceCollection.InputDetails details)
Create a Resource with given content
-
-
-
Method Detail
-
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
-
-