com.jclark.xsl.tr

Interface Sheet

public interface Sheet

Represents a (compiled) XSLT stylesheet. Transforms an XML tree
Method Summary
voidclearOutputMethodProperties()
resets the output method properties to just those which were set in the stylesheet
ActionDebugTargetgetDebugger()
gets the xrap (extension) processor for use during processing
OutputMethodgetOutputMethod()
returns the current values set either by client code, the stylesheet, or defaulted for the output method properties
PropertiesgetOutputMethodProperties()
returns the current values set either by client code, the stylesheet, or defaulted for the output method properties see java.xml.transform.Transform.getOutputMethodProperties()
StringgetOutputMethodProperty(String encodedPropertyNamespace, String encodedPropertyName)
returns the current value of the named property
SaxFilterMakergetSaxExtensionFilter()
gets the xrap (extension) processor for use during processing
LoadContextgetSourceLoadContext()
get the parameters controlling how a source tree object model is build
Resultprocess(Node node, XMLProcessor parser, ParameterSet params, Result result)
transform the document rooted at node against this stylesheet
voidsetDebugger(ActionDebugTarget debugger)
sets the experimental xrap processor for use during processing by the ProcessContext
voidsetOutputMethodProperty(String encodedPropertyNamespace, String encodedPropertyName, String value)
override the stylesheet's or default value for an output method property
voidsetSaxExtensionFilter(SaxFilterMaker xrap)
sets the experimental xrap processor for use during processing by the ProcessContext

Method Detail

clearOutputMethodProperties

public void clearOutputMethodProperties()
resets the output method properties to just those which were set in the stylesheet

getDebugger

public ActionDebugTarget getDebugger()
gets the xrap (extension) processor for use during processing

getOutputMethod

public OutputMethod getOutputMethod()
returns the current values set either by client code, the stylesheet, or defaulted for the output method properties

getOutputMethodProperties

public Properties getOutputMethodProperties()
returns the current values set either by client code, the stylesheet, or defaulted for the output method properties see java.xml.transform.Transform.getOutputMethodProperties()

getOutputMethodProperty

public String getOutputMethodProperty(String encodedPropertyNamespace, String encodedPropertyName)
returns the current value of the named property

getSaxExtensionFilter

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

getSourceLoadContext

public LoadContext getSourceLoadContext()
get the parameters controlling how a source tree object model is build

process

public Result process(Node node, XMLProcessor parser, ParameterSet params, Result result)
transform the document rooted at node against this stylesheet

Parameters: node the root node of source document parser a loader we can (re-)use params the XSLT run-time parameters result the destination for the transformation results

setDebugger

public void setDebugger(ActionDebugTarget debugger)
sets the experimental xrap processor for use during processing by the ProcessContext

setOutputMethodProperty

public void setOutputMethodProperty(String encodedPropertyNamespace, String encodedPropertyName, String value)
override the stylesheet's or default value for an output method property

setSaxExtensionFilter

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