public interface ResourceFactory
Modifier and Type | Method and Description |
---|---|
Resource |
makeResource(Configuration config,
String resourceURI,
String contentType,
AbstractResourceCollection.InputDetails details)
Create a Resource with given content
|
Resource makeResource(Configuration config, String resourceURI, String contentType, AbstractResourceCollection.InputDetails details) throws XPathException
config
- the Saxon configurationresourceURI
- the URI identifying the resourcecontentType
- the content type ( = media type or MIME type) of the resourcedetails
- the stream of bytes making up the binary content of the resourceXPathException
- if a failure occurs creating the resourceCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.