Xalan-C++ API Documentation
Go to the documentation of this file.
19 #if !defined(XALAN_XSLTPROCESSOR_HEADER_GUARD)
20 #define XALAN_XSLTPROCESSOR_HEADER_GUARD
37 XALAN_DECLARE_XERCES_CLASS(Locator)
41 XALAN_CPP_NAMESPACE_BEGIN
104 const Locator* locator,
361 const XPath* xpath)
const = 0;
388 XALAN_CPP_NAMESPACE_END
392 #endif // XALAN_XSLTPROCESSOR_HEADER_GUARD
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 fireSelectEvent(const SelectionEvent &se)=0
Fire a selection event.
This is the abstract class that is used when reporting a problem some kind, that requires a message,...
This class defines an interface for classes that resolve namespace prefixes to their URIs.
virtual void setDiagnosticsOutput(PrintWriter *pw)=0
If this is set, diagnostics will be written to the m_diagnosticsPrintWriter stream.
Class to hold XPath return types.
virtual void fireTraceEvent(const TracerEvent &te)=0
Fire a trace event.
virtual void setFormatterListener(FormatterListener *flistener)=0
Set the current formatter listener.
This is the parent class of events generated for tracing the progress of the XSL processor.
virtual XalanNode * getSourceTreeFromInput(const XSLTInputSource &inputSource)=0
Given an input source, get the source tree.
virtual size_type getTraceListeners() const =0
Determine the number of trace listeners.
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.
This is the class for events generated by the XSL processor after it generates a new node in the resu...
#define XALAN_XSLT_EXPORT
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 addTraceListener(TraceListener *tl)=0
Add a trace listener for the purposes of debugging and diagnosis.
virtual const StylesheetRoot * getStylesheetRoot() const =0
Retrieve the root stylesheet.
virtual void getUniqueNamespaceValue(XalanDOMString &theValue)=0
Generate a random namespace prefix guaranteed to be unique.
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 resolveTopLevelParams(StylesheetExecutionContext &executionContext)=0
Resolve the params that were pushed by the caller.
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 void removeTraceListener(TraceListener *tl)=0
Remove a trace listener.
virtual bool getTraceSelects() const =0
If this is set to true, simple traces of template calls are made.
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 void setStylesheetRoot(const StylesheetRoot *theStylesheet)=0
Set the root stylesheet.
XALAN_CPP_NAMESPACE_BEGIN XALAN_USING_XERCES(Locator)
virtual void reset()=0
Reset the state.
Class to hold XObjectPtr return types.
virtual XMLParserLiaison & getXMLParserLiaison() const =0
Get the XML Parser Liaison that this processor uses.
Local implementation of NodeRefList.
This is an interface for an XSLT Processor engine.
This acts as the stylesheet root of the stylesheet tree, and holds values that are shared by all styl...
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 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 problem(eSource source, eClassification classification, const XalanDOMString &msg, const XalanNode *sourceNode)=0
Function that is called when a problem event occurs.
virtual void clearStylesheetParams()=0
Clear any stylesheet params.
virtual void setQuietConflictWarnings(bool b)=0
If the quietConflictWarnings property is set to true, warnings about pattern conflicts won't be print...
virtual void setExecutionContext(StylesheetExecutionContext *theExecutionContext)=0
Set the execution context.
Interpreting class diagrams
Doxygen and
GraphViz are
used to generate this API documentation from the Xalan-C header files.
Xalan-C++ XSLT Processor Version 1.11
Copyright © 1999-2012 The Apache Software Foundation.
All Rights Reserved.
|
|