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 - the stream of bytes making up the binary content of the resourceXPathException - if a failure occurs creating the resourceCopyright (c) 2004-2020 Saxonica Limited.