public interface ResourceFactory
Modifier and Type | Method and Description |
---|---|
Resource |
makeResource(Configuration config,
AbstractResourceCollection.InputDetails details)
Create a Resource with given content
|
Resource makeResource(Configuration config, AbstractResourceCollection.InputDetails details) throws XPathException
config
- the Saxon configurationdetails
- information about the resource, including some means of obtaining the contentXPathException
- if a failure occurs creating the resourceCopyright (c) 2004-2022 Saxonica Limited. All rights reserved.