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

void
clearOutputMethodProperties()
resets the output method properties to just those which were set in the stylesheet
ActionDebugTarget
getDebugger()
gets the xrap (extension) processor for use during processing
OutputMethod
getOutputMethod()
returns the current values set either by client code, the stylesheet, or defaulted for the output method properties
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()
String
getOutputMethodProperty(String encodedPropertyNamespace, String encodedPropertyName)
returns the current value of the named property
SaxFilterMaker
getSaxExtensionFilter()
gets the xrap (extension) processor for use during processing
LoadContext
getSourceLoadContext()
get the parameters controlling how a source tree object model is build
Result
process(Node node, XMLProcessor parser, ParameterSet params, Result result)
transform the document rooted at node against this stylesheet
void
setDebugger(ActionDebugTarget debugger)
sets the experimental xrap processor for use during processing by the ProcessContext
void
setOutputMethodProperty(String encodedPropertyNamespace, String encodedPropertyName, String value)
override the stylesheet's or default value for an output method property
void
setSaxExtensionFilter(SaxFilterMaker xrap)
sets the experimental xrap processor for use during processing by the ProcessContext

Method Details

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)
            throws XSLException
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)
            throws XSLException
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