| net.sf.saxon.OutputURIResolver
All known Subclasses: net.sf.saxon.event.StandardOutputResolver,
OutputURIResolver | public interface OutputURIResolver (Code) | | This interface defines an OutputURIResolver. This is a counterpart to the JAXP
URIResolver, but is used to map the URI of a secondary result document to a Result object
which acts as the destination for the new document.
author: Michael H. Kay |
Method Summary | |
public void | close(Result result) Signal completion of the result document. | public Result | resolve(String href, String base) Resolve an output URI.
Parameters: href - The relative URI of the output document. |
close | public void close(Result result) throws TransformerException(Code) | | Signal completion of the result document. This method is called by the system
when the result document has been successfully written. It allows the resolver
to perform tidy-up actions such as closing output streams, or firing off
processes that take this result tree as input. Note that the OutputURIResolver
is stateless, so the the original Result object is supplied to identify the document
that has been completed.
Parameters: result - The result object returned by the previous call of resolve() |
resolve | public Result resolve(String href, String base) throws TransformerException(Code) | | Resolve an output URI.
Parameters: href - The relative URI of the output document. This corresponds to thehref attribute of the xsl:result-document instruction. Parameters: base - The base URI that should be used. This is the base URI of theelement that contained the href attribute. It may be null if no systemID was suppliedfor the stylesheet. a Result object representing the destination for the XML document. Themethod can also return null, in which case the standard output URI resolverwill be used to create a Result object. |
|
|