@FunctionalInterface
public interface ResourceFactory
| Modifier and Type | Method and Description |
|---|---|
Resource |
makeResource(XPathContext context,
AbstractResourceCollection.InputDetails details)
Create a Resource with given content
|
Resource makeResource(XPathContext context, AbstractResourceCollection.InputDetails details) throws XPathException
context - the Saxon evaluation contextdetails - the stream of bytes making up the binary content of the resourceXPathException - if a failure occurs creating the resourceCopyright (c) 2004-2022 Saxonica Limited. All rights reserved.