blob: 7072fcce3f92eb557d679b8368b3fd3021e2e5a7 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Xalan-C++ API : Main Page</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<!-- The head section is copied from Doxygen 1.7.1 generated default output -->
<body>
<h2 align="center">Xalan-C++ API Documentation</h2>
<h3 align="center"><a href="../index.html">The Xalan C++ XSLT Processor Version 1.11</a></h3>
<hr/>
<!-- Generated by Doxygen 1.7.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> </div>
<div class="headertitle">
<h1>XalanTransformerProblemListener Class Reference</h1> </div>
</div>
<div class="contents">
<!-- doxytag: class="XalanTransformerProblemListener" --><!-- doxytag: inherits="ProblemListener" -->
<p><code>#include &lt;<a class="el" href="XalanTransformerProblemListener_8hpp_source.html">XalanTransformerProblemListener.hpp</a>&gt;</code></p>
<p>Inherits <a class="el" href="classProblemListener.html">ProblemListener</a>.</p>
<div class="dynheader">
Collaboration diagram for XalanTransformerProblemListener:</div>
<div class="dyncontent">
<div class="center"><img src="classXalanTransformerProblemListener__coll__graph.png" border="0" usemap="#XalanTransformerProblemListener_coll__map" alt="Collaboration graph"/></div>
<map name="XalanTransformerProblemListener_coll__map" id="XalanTransformerProblemListener_coll__map">
<area shape="rect" id="node2" href="classProblemListener.html" title="This is the abstract class that the XSL processor uses when it has a problem of some kind..." alt="" coords="119,85,244,115"/><area shape="rect" id="node6" href="classProblemListenerDefault.html" title="The implementation of the default error handling for Xalan." alt="" coords="17,181,188,211"/><area shape="rect" id="node4" href="classProblemListenerBase.html" title="This is the abstract class that is used when reporting a problem some kind, that requires a message..." alt="" coords="103,5,260,35"/><area shape="rect" id="node9" href="classPrintWriter.html" title="PrintWriter" alt="" coords="5,85,93,115"/><area shape="rect" id="node11" href="classWriter.html" title="Writer" alt="" coords="20,5,79,35"/><area shape="rect" id="node13" href="classXalanDOMString.html" title="XalanDOMString" alt="" coords="311,181,439,211"/><area shape="rect" id="node15" href="classXalanVector.html" title="XalanVector\&lt; XalanDOMChar \&gt;" alt="" coords="268,85,495,115"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<p><a href="classXalanTransformerProblemListener-members.html">List of all members.</a></p>
<h2><a name="pub-types"></a>
Public Types</h2>
<ul>
<li>typedef std::ostream <a class="el" href="classXalanTransformerProblemListener.html#a50293f6bd86c920ff34451bfa7d50cdd">StreamType</a>
</ul>
<h2><a name="pub-methods"></a>
Public Member Functions</h2>
<ul>
<li><a class="el" href="classXalanTransformerProblemListener.html#aa63eae620040ae9e946916805a01e743">XalanTransformerProblemListener</a> (MemoryManager &amp;theManager, <a class="el" href="classXalanTransformerProblemListener.html#a50293f6bd86c920ff34451bfa7d50cdd">StreamType</a> *theStream, <a class="el" href="classPrintWriter.html">PrintWriter</a> *thePrintWriter)
<li>virtual <a class="el" href="classXalanTransformerProblemListener.html#a99b8a73bd5ae9a80a09acc395c9c81be">~XalanTransformerProblemListener</a> ()
<li>virtual void <a class="el" href="classXalanTransformerProblemListener.html#a29726f501b05c38a7e9b9212dd664561">setPrintWriter</a> (<a class="el" href="classPrintWriter.html">PrintWriter</a> *pw)
<li>virtual void <a class="el" href="classXalanTransformerProblemListener.html#a8bbdabe32f8c7cd64f34302c638de3c4">problem</a> (<a class="el" href="classProblemListenerBase.html#ae363b5e4919bbe4e41f6b2c1b322ee7c">eSource</a> source, <a class="el" href="classProblemListenerBase.html#a1fec6cce6cc3429e200355330a41152a">eClassification</a> classification, const <a class="el" href="classXalanNode.html">XalanNode</a> *sourceNode, const <a class="el" href="classElemTemplateElement.html">ElemTemplateElement</a> *styleNode, const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;msg, const XalanDOMChar *uri, XalanFileLoc lineNo, XalanFileLoc charOffset)
<dl class="el"><dd class="mdescRight"><a class="el" href="classFunction.html">Function</a> that is called when a problem event occurs. <a href="#a8bbdabe32f8c7cd64f34302c638de3c4"></a><br/></dl><li>virtual void <a class="el" href="classXalanTransformerProblemListener.html#a40f9cfd45343956e1a0aca6b118d837d">problem</a> (<a class="el" href="classProblemListenerBase.html#ae363b5e4919bbe4e41f6b2c1b322ee7c">eSource</a> source, <a class="el" href="classProblemListenerBase.html#a1fec6cce6cc3429e200355330a41152a">eClassification</a> classification, const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;msg, const Locator *locator, const <a class="el" href="classXalanNode.html">XalanNode</a> *sourceNode)
<dl class="el"><dd class="mdescRight"><a class="el" href="classFunction.html">Function</a> that is called when a problem event occurs. <a href="#a40f9cfd45343956e1a0aca6b118d837d"></a><br/></dl><li>virtual void <a class="el" href="classXalanTransformerProblemListener.html#aa05eeec3e483444f1b57fa7b14f65890">problem</a> (<a class="el" href="classProblemListenerBase.html#ae363b5e4919bbe4e41f6b2c1b322ee7c">eSource</a> source, <a class="el" href="classProblemListenerBase.html#a1fec6cce6cc3429e200355330a41152a">eClassification</a> classification, const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;msg, const <a class="el" href="classXalanNode.html">XalanNode</a> *sourceNode)
<dl class="el"><dd class="mdescRight"><a class="el" href="classFunction.html">Function</a> that is called when a problem event occurs. <a href="#aa05eeec3e483444f1b57fa7b14f65890"></a><br/></dl></ul>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Definition at line <a class="el" href="XalanTransformerProblemListener_8hpp_source.html#l00050">50</a> of file <a class="el" href="XalanTransformerProblemListener_8hpp_source.html">XalanTransformerProblemListener.hpp</a>.</p>
<hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="a50293f6bd86c920ff34451bfa7d50cdd"></a><!-- doxytag: member="XalanTransformerProblemListener::StreamType" ref="a50293f6bd86c920ff34451bfa7d50cdd" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef std::ostream <a class="el" href="classXalanTransformerProblemListener.html#a50293f6bd86c920ff34451bfa7d50cdd">XalanTransformerProblemListener::StreamType</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="XalanTransformerProblemListener_8hpp_source.html#l00032">32</a> of file <a class="el" href="XalanTransformerProblemListener_8hpp_source.html">XalanTransformerProblemListener.hpp</a>.</p>
</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="aa63eae620040ae9e946916805a01e743"></a><!-- doxytag: member="XalanTransformerProblemListener::XalanTransformerProblemListener" ref="aa63eae620040ae9e946916805a01e743" args="(MemoryManager &amp;theManager, StreamType *theStream, PrintWriter *thePrintWriter)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">XalanTransformerProblemListener::XalanTransformerProblemListener </td>
<td>(</td>
<td class="paramtype">MemoryManager &amp;&nbsp;</td>
<td class="paramname"> <em>theManager</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classXalanTransformerProblemListener.html#a50293f6bd86c920ff34451bfa7d50cdd">StreamType</a> *&nbsp;</td>
<td class="paramname"> <em>theStream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classPrintWriter.html">PrintWriter</a> *&nbsp;</td>
<td class="paramname"> <em>thePrintWriter</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a99b8a73bd5ae9a80a09acc395c9c81be"></a><!-- doxytag: member="XalanTransformerProblemListener::~XalanTransformerProblemListener" ref="a99b8a73bd5ae9a80a09acc395c9c81be" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual XalanTransformerProblemListener::~XalanTransformerProblemListener </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a8bbdabe32f8c7cd64f34302c638de3c4"></a><!-- doxytag: member="XalanTransformerProblemListener::problem" ref="a8bbdabe32f8c7cd64f34302c638de3c4" args="(eSource source, eClassification classification, const XalanNode *sourceNode, const ElemTemplateElement *styleNode, const XalanDOMString &amp;msg, const XalanDOMChar *uri, XalanFileLoc lineNo, XalanFileLoc charOffset)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void XalanTransformerProblemListener::problem </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classProblemListenerBase.html#ae363b5e4919bbe4e41f6b2c1b322ee7c">eSource</a>&nbsp;</td>
<td class="paramname"> <em>source</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classProblemListenerBase.html#a1fec6cce6cc3429e200355330a41152a">eClassification</a>&nbsp;</td>
<td class="paramname"> <em>classification</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classXalanNode.html">XalanNode</a> *&nbsp;</td>
<td class="paramname"> <em>sourceNode</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classElemTemplateElement.html">ElemTemplateElement</a> *&nbsp;</td>
<td class="paramname"> <em>styleNode</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;&nbsp;</td>
<td class="paramname"> <em>msg</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const XalanDOMChar *&nbsp;</td>
<td class="paramname"> <em>uri</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">XalanFileLoc&nbsp;</td>
<td class="paramname"> <em>lineNo</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">XalanFileLoc&nbsp;</td>
<td class="paramname"> <em>charOffset</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p><a class="el" href="classFunction.html">Function</a> that is called when a problem event occurs. </p>
<p>This function is deprecated. Use the overload with the Locator parameter instead. </p>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000002">Deprecated:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>source</em>&nbsp;</td><td>either eXMLPARSER, eXSLPROCESSOR, or eXPATH </td></tr>
<tr><td valign="top"></td><td valign="top"><em>classification</em>&nbsp;</td><td>either eMESSAGE, eERROR or eWARNING </td></tr>
<tr><td valign="top"></td><td valign="top"><em>sourceNode</em>&nbsp;</td><td>source tree node where the problem occurred (may be 0) </td></tr>
<tr><td valign="top"></td><td valign="top"><em>styleNode</em>&nbsp;</td><td>style tree node where the problem occurred (may be 0) </td></tr>
<tr><td valign="top"></td><td valign="top"><em>msg</em>&nbsp;</td><td>string message explaining the problem. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>uri</em>&nbsp;</td><td>the URI of the document where the problem occurred. May be 0. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>lineNo</em>&nbsp;</td><td>line number where the problem occurred. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>charOffset</em>&nbsp;</td><td>character offset where the problem. </td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="classProblemListener.html#aa82ddbdfd3d6843aac31796812fbb634">ProblemListener</a>.</p>
</div>
</div>
<a class="anchor" id="aa05eeec3e483444f1b57fa7b14f65890"></a><!-- doxytag: member="XalanTransformerProblemListener::problem" ref="aa05eeec3e483444f1b57fa7b14f65890" args="(eSource source, eClassification classification, const XalanDOMString &amp;msg, const XalanNode *sourceNode)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void XalanTransformerProblemListener::problem </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classProblemListenerBase.html#ae363b5e4919bbe4e41f6b2c1b322ee7c">eSource</a>&nbsp;</td>
<td class="paramname"> <em>source</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classProblemListenerBase.html#a1fec6cce6cc3429e200355330a41152a">eClassification</a>&nbsp;</td>
<td class="paramname"> <em>classification</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;&nbsp;</td>
<td class="paramname"> <em>msg</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classXalanNode.html">XalanNode</a> *&nbsp;</td>
<td class="paramname"> <em>sourceNode</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p><a class="el" href="classFunction.html">Function</a> that is called when a problem event occurs. </p>
<p>This version assumes location information is already formatted into the message.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>source</em>&nbsp;</td><td>either eXMLPARSER, eXSLPROCESSOR, or eXPATH </td></tr>
<tr><td valign="top"></td><td valign="top"><em>classification</em>&nbsp;</td><td>either eMESSAGE, eERROR or eWARNING </td></tr>
<tr><td valign="top"></td><td valign="top"><em>msg</em>&nbsp;</td><td>string message explaining the problem. </td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="classProblemListener.html#a4cd63f709a24a740a5faee8d150607a2">ProblemListener</a>.</p>
</div>
</div>
<a class="anchor" id="a40f9cfd45343956e1a0aca6b118d837d"></a><!-- doxytag: member="XalanTransformerProblemListener::problem" ref="a40f9cfd45343956e1a0aca6b118d837d" args="(eSource source, eClassification classification, const XalanDOMString &amp;msg, const Locator *locator, const XalanNode *sourceNode)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void XalanTransformerProblemListener::problem </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classProblemListenerBase.html#ae363b5e4919bbe4e41f6b2c1b322ee7c">eSource</a>&nbsp;</td>
<td class="paramname"> <em>source</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classProblemListenerBase.html#a1fec6cce6cc3429e200355330a41152a">eClassification</a>&nbsp;</td>
<td class="paramname"> <em>classification</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classXalanDOMString.html">XalanDOMString</a> &amp;&nbsp;</td>
<td class="paramname"> <em>msg</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const Locator *&nbsp;</td>
<td class="paramname"> <em>locator</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classXalanNode.html">XalanNode</a> *&nbsp;</td>
<td class="paramname"> <em>sourceNode</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p><a class="el" href="classFunction.html">Function</a> that is called when a problem event occurs. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>source</em>&nbsp;</td><td>Either eXMLParser, eXSLProcessor, or eXPATH. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>classification</em>&nbsp;</td><td>Either eMessage, eWarning, or eError. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>locator</em>&nbsp;</td><td>The current Locator instance for the stylesheet. Maybe be a null pointer. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>sourceNode</em>&nbsp;</td><td>The current source node, if any. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>msg</em>&nbsp;</td><td>The error message. </td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="classProblemListener.html#a8629b542f8eb8b0ec791b8de63a1082b">ProblemListener</a>.</p>
</div>
</div>
<a class="anchor" id="a29726f501b05c38a7e9b9212dd664561"></a><!-- doxytag: member="XalanTransformerProblemListener::setPrintWriter" ref="a29726f501b05c38a7e9b9212dd664561" args="(PrintWriter *pw)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void XalanTransformerProblemListener::setPrintWriter </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classPrintWriter.html">PrintWriter</a> *&nbsp;</td>
<td class="paramname"> <em>pw</em></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Implements <a class="el" href="classProblemListener.html#a204be0de52fc0c0e05bf3652c8ea7324">ProblemListener</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="XalanTransformerProblemListener_8hpp_source.html">XalanTransformerProblemListener.hpp</a></li>
</ul>
</div>
<p align="center"><a href="graph_legend.html">Interpreting class diagrams</a></p>
<p><font color="#000000" face="arial,helvetica,sanserif" size="-1">
<i><a href="http://www.doxygen.org/">Doxygen</a> and
<a href="http://www.graphviz.org/">GraphViz</a> are
used to generate this API documentation from the Xalan-C header files.</i></font></p>
<table border="0" cellpadding="0" cellspacing="0" width="80%">
<tr>
<td width="80%" valign="top">
<p align="center"><b>Xalan-C++ XSLT Processor Version 1.11</b><br/>
Copyright &copy; 1999-2012 The Apache Software Foundation.<br/>
All Rights Reserved.</p>
</td>
</tr>
<tr>
<td width="100%">
<p align="center"><img src="asf_logo_wide.gif" width="268" height="25" align="bottom" border="0" alt="Apache Logo">
</td>
</tr>
</table>
</body>
</html>