net.sf.saxon.event
public class StandardOutputResolver extends Object implements OutputURIResolver, Serializable
Method Summary | |
---|---|
void | close(Result result)
Signal completion of the result document. |
static StandardOutputResolver | getInstance()
Get a singular instance |
static Result | makeOutputFile(URI absoluteURI)
Create an output file (unless it already exists) and return a reference to it as a Result object |
Result | resolve(String href, String base)
Resolve an output URI |
Returns: the singleton instance of the class
Parameters: absoluteURI the URI of the output file (which should use the "file" scheme
Returns: a Result object referencing this output file
Throws: XPathException
Parameters: href The relative URI of the output document. This corresponds to the href attribute of the xsl:result-document instruction. base The base URI that should be used. This is the base output URI, normally the URI of the principal output file.
Returns: a Result object representing the destination for the XML document