 |
Xalan-C++ API Reference
1.12.0
|
Go to the documentation of this file.
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;
395 #endif // XALAN_XSLTPROCESSOR_HEADER_GUARD
virtual void clearStylesheetParams()=0
Clear any stylesheet params.
virtual void reset()=0
Reset the state.
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
virtual void setExecutionContext(StylesheetExecutionContext *theExecutionContext)=0
Set the execution context.
virtual void resolveTopLevelParams(StylesheetExecutionContext &executionContext)=0
Resolve the params that were pushed by the caller.
virtual void fireTraceEvent(const TracerEvent &te)=0
Fire a trace event.
virtual size_type getTraceListeners() const =0
Determine the number of trace listeners.
#define XALAN_XSLT_EXPORT
virtual bool getTraceSelects() const =0
If this is set to true, simple traces of template calls are made.
virtual void setQuietConflictWarnings(bool b)=0
If the quietConflictWarnings property is set to true, warnings about pattern conflicts won't be print...
virtual void problem(eSource source, eClassification classification, const XalanDOMString &msg, const XalanNode *sourceNode)=0
Function that is called when a problem event occurs.
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.
Class to hold XObjectPtr return types.
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 const StylesheetRoot * getStylesheetRoot() const =0
Retrieve the root stylesheet.
virtual void setDiagnosticsOutput(PrintWriter *pw)=0
If this is set, diagnostics will be written to the m_diagnosticsPrintWriter stream.
This is an interface for an XSLT Processor engine.
virtual void setFormatterListener(FormatterListener *flistener)=0
Set the current formatter listener.
virtual void fireGenerateEvent(const GenerateEvent &ge)=0
Fire a generate 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 XMLParserLiaison & getXMLParserLiaison() const =0
Get the XML Parser Liaison that this processor uses.
virtual void fireSelectEvent(const SelectionEvent &se)=0
Fire a selection event.
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 StylesheetRoot * processStylesheet(const XalanDOMString &xsldocURLString, StylesheetConstructionContext &constructionContext)=0
Given a URI to an XSL stylesheet, compile the stylesheet into an internal representation.
This is the parent class of events generated for tracing the progress of the XSL processor.
This acts as the stylesheet root of the stylesheet tree, and holds values that are shared by all styl...
virtual XalanNode * getSourceTreeFromInput(const XSLTInputSource &inputSource)=0
Given an input source, get the source tree.
virtual void removeTraceListener(TraceListener *tl)=0
Remove a trace listener.
virtual StylesheetRoot * processStylesheet(const XSLTInputSource &stylesheetSource, StylesheetConstructionContext &constructionContext)=0
Given a stylesheet input source, compile the stylesheet into an internal representation.
Local implementation of NodeRefList.
This is the class for events generated by the XSL processor after it generates a new node in the resu...
This is the abstract class that is used when reporting a problem some kind, that requires a message,...
virtual void getUniqueNamespaceValue(XalanDOMString &theValue)=0
Generate a random namespace prefix guaranteed to be unique.
virtual void setStylesheetRoot(const StylesheetRoot *theStylesheet)=0
Set the root stylesheet.
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 addTraceListener(TraceListener *tl)=0
Add a trace listener for the purposes of debugging and diagnosis.
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.