com.jclark.xsl.tr

Interface Sheet

Known Subinterfaces:
SheetDetails
Known Implementing Classes:
SheetImpl

public interface Sheet

Represents a (compiled) XSLT stylesheet. Transforms an XML tree

Method Summary

SaxFilterMaker
getSaxExtensionFilter()
gets the xrap (extension) processor for use during processing
LoadContext
getSourceLoadContext()
Result
process(Node node, XMLProcessor parser, ParameterSet params, Result result)
transform the document rooted at node against this stylesheet
void
setSaxExtensionFilter(SaxFilterMaker xrap)
sets the experimental xrap processor for use during processing by the ProcessContext

Method Details

getSaxExtensionFilter

public SaxFilterMaker getSaxExtensionFilter()
gets the xrap (extension) processor for use during processing

getSourceLoadContext

public LoadContext getSourceLoadContext()

process

public Result process(Node node,
                      XMLProcessor parser,
                      ParameterSet params,
                      Result result)
            throws XSLException
transform the document rooted at node against this stylesheet
Parameters:
node - the source document
parser - a loader we can (re-)use
params - the XSLT run-time parameters
result - the destination for thetransformation results

setSaxExtensionFilter

public void setSaxExtensionFilter(SaxFilterMaker xrap)
sets the experimental xrap processor for use during processing by the ProcessContext