19 #if !defined(XALAN_XSLTPROCESSOR_HEADER_GUARD)
20 #define XALAN_XSLTPROCESSOR_HEADER_GUARD
37 namespace XERCES_CPP_NAMESPACE
48 using xercesc::Locator;;
52 class ElemTemplateElement;
53 class FormatterListener;
55 class NodeRefListBase;
59 class StylesheetConstructionContext;
60 class StylesheetExecutionContext;
68 class XMLParserLiaison;
72 class XPathExecutionContext;
73 class XSLTInputSource;
74 class XSLTResultTarget;
107 const Locator* locator,
364 const XPath* xpath)
const = 0;
#define XALAN_XSLT_EXPORT
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
This is the class for events generated by the XSL processor after it generates a new node in the resu...
Local implementation of NodeRefList.
This is the abstract class that is used when reporting a problem some kind, that requires a message,...
This acts as the stylesheet root of the stylesheet tree, and holds values that are shared by all styl...
This is the parent class of events generated for tracing the progress of the XSL processor.
Class to hold XObjectPtr return types.
This is an interface for an XSLT Processor engine.
virtual void process(const XSLTInputSource &inputSource, const XSLTInputSource &stylesheetSource, XSLTResultTarget &outputTarget, StylesheetConstructionContext &constructionContext, StylesheetExecutionContext &executionContext)=0
Transform the source tree to the output in the given result tree target.
virtual XMLParserLiaison & getXMLParserLiaison() const =0
Get the XML Parser Liaison that this processor uses.
virtual bool getTraceSelects() const =0
If this is set to true, simple traces of template calls are made.
virtual void setExecutionContext(StylesheetExecutionContext *theExecutionContext)=0
Set the execution context.
virtual void fireSelectEvent(const SelectionEvent &se)=0
Fire a selection event.
virtual void clearStylesheetParams()=0
Clear any stylesheet params.
virtual void setFormatterListener(FormatterListener *flistener)=0
Set the current formatter listener.
virtual XalanNode * getSourceTreeFromInput(const XSLTInputSource &inputSource)=0
Given an input source, get the source tree.
virtual StylesheetRoot * processStylesheet(const XalanDOMString &xsldocURLString, StylesheetConstructionContext &constructionContext)=0
Given a URI to an XSL stylesheet, compile the stylesheet into an internal representation.
virtual void setStylesheetRoot(const StylesheetRoot *theStylesheet)=0
Set the root stylesheet.
virtual const StylesheetRoot * getStylesheetRoot() const =0
Retrieve the root stylesheet.
virtual void reset()=0
Reset the state.
virtual void fireTraceEvent(const TracerEvent &te)=0
Fire a trace event.
virtual void setStylesheetParam(const XalanDOMString &key, XObjectPtr value)=0
Set a top-level parameter, which the stylesheet can access with a top-level xsl:param.
virtual void process(const XSLTInputSource &inputSource, XSLTResultTarget &outputTarget, StylesheetExecutionContext &executionContext)=0
Transform the source tree to the output in the given result tree target.
virtual void problem(eSource source, eClassification classification, const XalanDOMString &msg, const Locator *locator, const XalanNode *sourceNode)=0
Function that is called when a problem event occurs.
virtual void fireGenerateEvent(const GenerateEvent &ge)=0
Fire a generate event.
virtual StylesheetRoot * processStylesheet(const XSLTInputSource &stylesheetSource, StylesheetConstructionContext &constructionContext)=0
Given a stylesheet input source, compile the stylesheet into an internal representation.
virtual size_type getTraceListeners() const =0
Determine the number of trace listeners.
virtual void getUniqueNamespaceValue(XalanDOMString &theValue)=0
Generate a random namespace prefix guaranteed to be unique.
virtual void resolveTopLevelParams(StylesheetExecutionContext &executionContext)=0
Resolve the params that were pushed by the caller.
virtual void setQuietConflictWarnings(bool b)=0
If the quietConflictWarnings property is set to true, warnings about pattern conflicts won't be print...
virtual FormatterListener * getFormatterListener() const =0
Get the current formatter listener.
virtual void setStylesheetParam(const XalanDOMString &key, const XalanDOMString &expression)=0
Set a top-level parameter, which the stylesheet can access with a top-level xsl:param.
virtual void traceSelect(StylesheetExecutionContext &executionContext, const ElemTemplateElement &theStylesheetElement, const NodeRefListBase &nl, const XPath *xpath) const =0
Compose a diagnostic trace of the current selection.
virtual void problem(eSource source, eClassification classification, const XalanDOMString &msg, const XalanNode *sourceNode)=0
Function that is called when a problem event occurs.
virtual void setDiagnosticsOutput(PrintWriter *pw)=0
If this is set, diagnostics will be written to the m_diagnosticsPrintWriter stream.
virtual void removeTraceListener(TraceListener *tl)=0
Remove a trace listener.
virtual void addTraceListener(TraceListener *tl)=0
Add a trace listener for the purposes of debugging and diagnosis.