blob: 6e1da2a11cb885560ae44f1d12c801a698c49193 [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> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-static-attribs">Static Protected Attributes</a> </div>
<div class="headertitle">
<h1>ProblemListenerBase Class Reference</h1> </div>
</div>
<div class="contents">
<!-- doxytag: class="ProblemListenerBase" -->
<p>This is the abstract class that is used when reporting a problem some kind, that requires a message, an error or a warning.
<a href="#_details">More...</a></p>
<p><code>#include &lt;<a class="el" href="ProblemListenerBase_8hpp_source.html">ProblemListenerBase.hpp</a>&gt;</code></p>
<p>Inherited by <a class="el" href="classExecutionContext.html">ExecutionContext</a>, <a class="el" href="classProblemListener.html">ProblemListener</a>, <a class="el" href="classXPathConstructionContext.html">XPathConstructionContext</a>, <a class="el" href="classXPathEnvSupport.html">XPathEnvSupport</a>, and <a class="el" href="classXSLTProcessor.html">XSLTProcessor</a>.</p>
<p><a href="classProblemListenerBase-members.html">List of all members.</a></p>
<h2><a name="pub-types"></a>
Public Types</h2>
<ul>
<li>enum <a class="el" href="classProblemListenerBase.html#ae363b5e4919bbe4e41f6b2c1b322ee7c">eSource</a> { <br/>
&nbsp;&nbsp;<a class="el" href="classProblemListenerBase.html#ae363b5e4919bbe4e41f6b2c1b322ee7cab51b4ed9c748477c0f9c6603aa0ccdc8">eXMLPARSER</a> = 0,
<a class="el" href="classProblemListenerBase.html#ae363b5e4919bbe4e41f6b2c1b322ee7ca3b9c52ddcd4f623dc44c9d2351b6ed78">eXMLParser</a> = 0,
<a class="el" href="classProblemListenerBase.html#ae363b5e4919bbe4e41f6b2c1b322ee7ca3d1e3719336dba5ed358e2095acb2e3f">eXSLPROCESSOR</a> = 1,
<a class="el" href="classProblemListenerBase.html#ae363b5e4919bbe4e41f6b2c1b322ee7ca9d60e975b9a404d5b1871ae69512ec9f">eXSLTProcessor</a> = 1,
<br/>
&nbsp;&nbsp;<a class="el" href="classProblemListenerBase.html#ae363b5e4919bbe4e41f6b2c1b322ee7caaf22b9564dfa971a422d6d3eb5b660a4">eXPATH</a> = 2,
<a class="el" href="classProblemListenerBase.html#ae363b5e4919bbe4e41f6b2c1b322ee7cacca6897eaa639be8e25619ba80bacc77">eXPath</a> = 2,
<a class="el" href="classProblemListenerBase.html#ae363b5e4919bbe4e41f6b2c1b322ee7cac250037394b9363e44e51cf306eb99f8">eSourceCount</a>
<br/>
}
<li>enum <a class="el" href="classProblemListenerBase.html#a1fec6cce6cc3429e200355330a41152a">eClassification</a> { <br/>
&nbsp;&nbsp;<a class="el" href="classProblemListenerBase.html#a1fec6cce6cc3429e200355330a41152aadc81c2cebfe8f1221922d2c2c73d58af">eMESSAGE</a> = 0,
<a class="el" href="classProblemListenerBase.html#a1fec6cce6cc3429e200355330a41152aaa6cb23c269aac0dc9918f86cfd06e28a">eMessage</a> = 0,
<a class="el" href="classProblemListenerBase.html#a1fec6cce6cc3429e200355330a41152aa2e1a03f92eb740af6bc96fdeb9441fd5">eWARNING</a> = 1,
<a class="el" href="classProblemListenerBase.html#a1fec6cce6cc3429e200355330a41152aa1490bace488e75b3dd3b07d5b18b62af">eWarning</a> = 1,
<br/>
&nbsp;&nbsp;<a class="el" href="classProblemListenerBase.html#a1fec6cce6cc3429e200355330a41152aada459fe7ccc4495ad264d7fd44e81b4f">eERROR</a> = 2,
<a class="el" href="classProblemListenerBase.html#a1fec6cce6cc3429e200355330a41152aaed0365bf84cd1b79718370e12c5228a9">eError</a> = 2,
<a class="el" href="classProblemListenerBase.html#a1fec6cce6cc3429e200355330a41152aac591e1423d63f089a4cbb114ca2c8e7a">eClassificationCount</a>
<br/>
}
<li>typedef <a class="el" href="classProblemListenerBase.html#ae363b5e4919bbe4e41f6b2c1b322ee7c">eSource</a> <a class="el" href="classProblemListenerBase.html#a9c9513a41170d6e3c7429a14943b7350">eProblemSource</a>
</ul>
<h2><a name="pub-methods"></a>
Public Member Functions</h2>
<ul>
<li><a class="el" href="classProblemListenerBase.html#ae5e314471d901f01cb7248a811839c8e">ProblemListenerBase</a> ()
<li>virtual <a class="el" href="classProblemListenerBase.html#a0e4dfee1ed740e702dcd820abbb81c09">~ProblemListenerBase</a> ()
<li>virtual void <a class="el" href="classProblemListenerBase.html#a50a8c4dee286543750b247df7ca99ca0">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)=0
<dl class="el"><dd class="mdescRight"><a class="el" href="classFunction.html">Function</a> that is called when a problem event occurs. <a href="#a50a8c4dee286543750b247df7ca99ca0"></a><br/></dl><li>virtual void <a class="el" href="classProblemListenerBase.html#ab0b6125dce1f0c27a3d91fdca012f3b4">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)=0
<dl class="el"><dd class="mdescRight"><a class="el" href="classFunction.html">Function</a> that is called when a problem event occurs. <a href="#ab0b6125dce1f0c27a3d91fdca012f3b4"></a><br/></dl></ul>
<h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2>
<ul>
<li>static void <a class="el" href="classProblemListenerBase.html#ab7fbd608b1d09b64bc91e764428b7999">defaultFormat</a> (<a class="el" href="classPrintWriter.html">PrintWriter</a> &amp;pw, <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> to format a problem call to a <a class="el" href="classPrintWriter.html">PrintWriter</a> instance. <a href="#ab7fbd608b1d09b64bc91e764428b7999"></a><br/></dl><li>static void <a class="el" href="classProblemListenerBase.html#a7cbd6f499cf81388e4218e0680563461">defaultFormat</a> (<a class="el" href="classPrintWriter.html">PrintWriter</a> &amp;pw, <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> to format a problem call to a <a class="el" href="classPrintWriter.html">PrintWriter</a> instance. <a href="#a7cbd6f499cf81388e4218e0680563461"></a><br/></dl></ul>
<h2><a name="pro-static-attribs"></a>
Static Protected Attributes</h2>
<ul>
<li>static const XalanMessages::Codes <a class="el" href="classProblemListenerBase.html#aae8a30e6ccef0a1be3c80df08e8d510e">s_messageCodes</a> [eSourceCount][eClassificationCount]
</ul>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>This is the abstract class that is used when reporting a problem some kind, that requires a message, an error or a warning. </p>
<p>Definition at line <a class="el" href="ProblemListenerBase_8hpp_source.html#l00053">53</a> of file <a class="el" href="ProblemListenerBase_8hpp_source.html">ProblemListenerBase.hpp</a>.</p>
<hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="a9c9513a41170d6e3c7429a14943b7350"></a><!-- doxytag: member="ProblemListenerBase::eProblemSource" ref="a9c9513a41170d6e3c7429a14943b7350" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef <a class="el" href="classProblemListenerBase.html#ae363b5e4919bbe4e41f6b2c1b322ee7c">eSource</a> <a class="el" href="classProblemListenerBase.html#ae363b5e4919bbe4e41f6b2c1b322ee7c">ProblemListenerBase::eProblemSource</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Reimplemented in <a class="el" href="classProblemListener.html#a0b33a3762e89fbcfd751b5e7071ec14e">ProblemListener</a>.</p>
<p>Definition at line <a class="el" href="ProblemListenerBase_8hpp_source.html#l00068">68</a> of file <a class="el" href="ProblemListenerBase_8hpp_source.html">ProblemListenerBase.hpp</a>.</p>
</div>
</div>
<hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="a1fec6cce6cc3429e200355330a41152a"></a><!-- doxytag: member="ProblemListenerBase::eClassification" ref="a1fec6cce6cc3429e200355330a41152a" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="classProblemListenerBase.html#a1fec6cce6cc3429e200355330a41152a">ProblemListenerBase::eClassification</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a1fec6cce6cc3429e200355330a41152aadc81c2cebfe8f1221922d2c2c73d58af"></a><!-- doxytag: member="eMESSAGE" ref="a1fec6cce6cc3429e200355330a41152aadc81c2cebfe8f1221922d2c2c73d58af" args="" -->eMESSAGE</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a1fec6cce6cc3429e200355330a41152aaa6cb23c269aac0dc9918f86cfd06e28a"></a><!-- doxytag: member="eMessage" ref="a1fec6cce6cc3429e200355330a41152aaa6cb23c269aac0dc9918f86cfd06e28a" args="" -->eMessage</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a1fec6cce6cc3429e200355330a41152aa2e1a03f92eb740af6bc96fdeb9441fd5"></a><!-- doxytag: member="eWARNING" ref="a1fec6cce6cc3429e200355330a41152aa2e1a03f92eb740af6bc96fdeb9441fd5" args="" -->eWARNING</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a1fec6cce6cc3429e200355330a41152aa1490bace488e75b3dd3b07d5b18b62af"></a><!-- doxytag: member="eWarning" ref="a1fec6cce6cc3429e200355330a41152aa1490bace488e75b3dd3b07d5b18b62af" args="" -->eWarning</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a1fec6cce6cc3429e200355330a41152aada459fe7ccc4495ad264d7fd44e81b4f"></a><!-- doxytag: member="eERROR" ref="a1fec6cce6cc3429e200355330a41152aada459fe7ccc4495ad264d7fd44e81b4f" args="" -->eERROR</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a1fec6cce6cc3429e200355330a41152aaed0365bf84cd1b79718370e12c5228a9"></a><!-- doxytag: member="eError" ref="a1fec6cce6cc3429e200355330a41152aaed0365bf84cd1b79718370e12c5228a9" args="" -->eError</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a1fec6cce6cc3429e200355330a41152aac591e1423d63f089a4cbb114ca2c8e7a"></a><!-- doxytag: member="eClassificationCount" ref="a1fec6cce6cc3429e200355330a41152aac591e1423d63f089a4cbb114ca2c8e7a" args="" -->eClassificationCount</em>&nbsp;</td><td>
</td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="ProblemListenerBase_8hpp_source.html#l00072">72</a> of file <a class="el" href="ProblemListenerBase_8hpp_source.html">ProblemListenerBase.hpp</a>.</p>
</div>
</div>
<a class="anchor" id="ae363b5e4919bbe4e41f6b2c1b322ee7c"></a><!-- doxytag: member="ProblemListenerBase::eSource" ref="ae363b5e4919bbe4e41f6b2c1b322ee7c" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="classProblemListenerBase.html#ae363b5e4919bbe4e41f6b2c1b322ee7c">ProblemListenerBase::eSource</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="ae363b5e4919bbe4e41f6b2c1b322ee7cab51b4ed9c748477c0f9c6603aa0ccdc8"></a><!-- doxytag: member="eXMLPARSER" ref="ae363b5e4919bbe4e41f6b2c1b322ee7cab51b4ed9c748477c0f9c6603aa0ccdc8" args="" -->eXMLPARSER</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ae363b5e4919bbe4e41f6b2c1b322ee7ca3b9c52ddcd4f623dc44c9d2351b6ed78"></a><!-- doxytag: member="eXMLParser" ref="ae363b5e4919bbe4e41f6b2c1b322ee7ca3b9c52ddcd4f623dc44c9d2351b6ed78" args="" -->eXMLParser</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ae363b5e4919bbe4e41f6b2c1b322ee7ca3d1e3719336dba5ed358e2095acb2e3f"></a><!-- doxytag: member="eXSLPROCESSOR" ref="ae363b5e4919bbe4e41f6b2c1b322ee7ca3d1e3719336dba5ed358e2095acb2e3f" args="" -->eXSLPROCESSOR</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ae363b5e4919bbe4e41f6b2c1b322ee7ca9d60e975b9a404d5b1871ae69512ec9f"></a><!-- doxytag: member="eXSLTProcessor" ref="ae363b5e4919bbe4e41f6b2c1b322ee7ca9d60e975b9a404d5b1871ae69512ec9f" args="" -->eXSLTProcessor</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ae363b5e4919bbe4e41f6b2c1b322ee7caaf22b9564dfa971a422d6d3eb5b660a4"></a><!-- doxytag: member="eXPATH" ref="ae363b5e4919bbe4e41f6b2c1b322ee7caaf22b9564dfa971a422d6d3eb5b660a4" args="" -->eXPATH</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ae363b5e4919bbe4e41f6b2c1b322ee7cacca6897eaa639be8e25619ba80bacc77"></a><!-- doxytag: member="eXPath" ref="ae363b5e4919bbe4e41f6b2c1b322ee7cacca6897eaa639be8e25619ba80bacc77" args="" -->eXPath</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ae363b5e4919bbe4e41f6b2c1b322ee7cac250037394b9363e44e51cf306eb99f8"></a><!-- doxytag: member="eSourceCount" ref="ae363b5e4919bbe4e41f6b2c1b322ee7cac250037394b9363e44e51cf306eb99f8" args="" -->eSourceCount</em>&nbsp;</td><td>
</td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="ProblemListenerBase_8hpp_source.html#l00059">59</a> of file <a class="el" href="ProblemListenerBase_8hpp_source.html">ProblemListenerBase.hpp</a>.</p>
</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ae5e314471d901f01cb7248a811839c8e"></a><!-- doxytag: member="ProblemListenerBase::ProblemListenerBase" ref="ae5e314471d901f01cb7248a811839c8e" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">ProblemListenerBase::ProblemListenerBase </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a0e4dfee1ed740e702dcd820abbb81c09"></a><!-- doxytag: member="ProblemListenerBase::~ProblemListenerBase" ref="a0e4dfee1ed740e702dcd820abbb81c09" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual ProblemListenerBase::~ProblemListenerBase </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="ab7fbd608b1d09b64bc91e764428b7999"></a><!-- doxytag: member="ProblemListenerBase::defaultFormat" ref="ab7fbd608b1d09b64bc91e764428b7999" args="(PrintWriter &amp;pw, 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">static void ProblemListenerBase::defaultFormat </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classPrintWriter.html">PrintWriter</a> &amp;&nbsp;</td>
<td class="paramname"> <em>pw</em>, </td>
</tr>
<tr>
<td class="paramkey"></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> [static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p><a class="el" href="classFunction.html">Function</a> to format a problem call to a <a class="el" href="classPrintWriter.html">PrintWriter</a> instance. </p>
<p>This is a bare-bones implementation that uses localized strings.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>pw</em>&nbsp;</td><td>The <a class="el" href="classPrintWriter.html">PrintWriter</a> instance to use. </td></tr>
<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>Reimplemented in <a class="el" href="classProblemListenerDefault.html#a55578be119aa18f533efe4cf6ce80183">ProblemListenerDefault</a>.</p>
</div>
</div>
<a class="anchor" id="a7cbd6f499cf81388e4218e0680563461"></a><!-- doxytag: member="ProblemListenerBase::defaultFormat" ref="a7cbd6f499cf81388e4218e0680563461" args="(PrintWriter &amp;pw, eSource source, eClassification classification, const XalanDOMString &amp;msg, const XalanNode *sourceNode)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">static void ProblemListenerBase::defaultFormat </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classPrintWriter.html">PrintWriter</a> &amp;&nbsp;</td>
<td class="paramname"> <em>pw</em>, </td>
</tr>
<tr>
<td class="paramkey"></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> [static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p><a class="el" href="classFunction.html">Function</a> to format a problem call to a <a class="el" href="classPrintWriter.html">PrintWriter</a> instance. </p>
<p>This is a bare-bones implementation that uses localized strings.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>pw</em>&nbsp;</td><td>The <a class="el" href="classPrintWriter.html">PrintWriter</a> instance to use. </td></tr>
<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>Reimplemented in <a class="el" href="classProblemListenerDefault.html#a470ae4c0f05138f5db2c92088012a945">ProblemListenerDefault</a>.</p>
</div>
</div>
<a class="anchor" id="a50a8c4dee286543750b247df7ca99ca0"></a><!-- doxytag: member="ProblemListenerBase::problem" ref="a50a8c4dee286543750b247df7ca99ca0" args="(eSource source, eClassification classification, const XalanDOMString &amp;msg, const Locator *locator, const XalanNode *sourceNode)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void ProblemListenerBase::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> [pure 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>Implemented in <a class="el" href="classProblemListener.html#a8629b542f8eb8b0ec791b8de63a1082b">ProblemListener</a>, <a class="el" href="classProblemListenerDefault.html#af6b426eaaa3ecc025c9501fff9bf8eea">ProblemListenerDefault</a>, <a class="el" href="classStylesheetConstructionContext.html#a772f875de0e8851519f468d362c6b88b">StylesheetConstructionContext</a>, <a class="el" href="classStylesheetConstructionContextDefault.html#addfa242d3e1178a2b1a32da3b81d94ca">StylesheetConstructionContextDefault</a>, <a class="el" href="classStylesheetExecutionContext.html#ac2021f630141884516db1de79db4772c">StylesheetExecutionContext</a>, <a class="el" href="classStylesheetExecutionContextDefault.html#a9052a7b580c4c4beab09b1c400ed82f3">StylesheetExecutionContextDefault</a>, <a class="el" href="classXSLTProcessor.html#a32cdd44c9a0526968af2d3071793799c">XSLTProcessor</a>, <a class="el" href="classXSLTProcessorEnvSupport.html#a735fe62ae5668353589f858b3f95aecc">XSLTProcessorEnvSupport</a>, <a class="el" href="classXSLTProcessorEnvSupportDefault.html#a968a3b1cee2436f37669a542b9afc77b">XSLTProcessorEnvSupportDefault</a>, <a class="el" href="classXalanTransformerProblemListener.html#a40f9cfd45343956e1a0aca6b118d837d">XalanTransformerProblemListener</a>, <a class="el" href="classExecutionContext.html#aef05baae1479aa180449c1abd28d5a79">ExecutionContext</a>, <a class="el" href="classXPathConstructionContext.html#a645491db235711f6bef207c1d17579ef">XPathConstructionContext</a>, <a class="el" href="classXPathConstructionContextDefault.html#add60e481581bd94f0af280d3e2abdf63">XPathConstructionContextDefault</a>, <a class="el" href="classXPathEnvSupport.html#a69184c828992be0c3a98e975057824d3">XPathEnvSupport</a>, <a class="el" href="classXPathEnvSupportDefault.html#a29cca134f9959dffa831e034a17b3eb6">XPathEnvSupportDefault</a>, <a class="el" href="classXPathExecutionContext.html#ad968f5fdf3eb15c30783258f9f596d98">XPathExecutionContext</a>, and <a class="el" href="classXPathExecutionContextDefault.html#a3b209d973f66f12979433c22b98013ce">XPathExecutionContextDefault</a>.</p>
</div>
</div>
<a class="anchor" id="ab0b6125dce1f0c27a3d91fdca012f3b4"></a><!-- doxytag: member="ProblemListenerBase::problem" ref="ab0b6125dce1f0c27a3d91fdca012f3b4" args="(eSource source, eClassification classification, const XalanDOMString &amp;msg, const XalanNode *sourceNode)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void ProblemListenerBase::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> [pure 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>Implemented in <a class="el" href="classProblemListener.html#a4cd63f709a24a740a5faee8d150607a2">ProblemListener</a>, <a class="el" href="classProblemListenerDefault.html#aa08e26d43d4a1bb5270511cfc80e1e2f">ProblemListenerDefault</a>, <a class="el" href="classStylesheetConstructionContext.html#a3b8efce168727e4a3e35e17516af7ecf">StylesheetConstructionContext</a>, <a class="el" href="classStylesheetConstructionContextDefault.html#a6526a2364175c61541cf02727fc1cbf0">StylesheetConstructionContextDefault</a>, <a class="el" href="classStylesheetExecutionContext.html#adc5fd22cd952a0a93043eead9eb34afd">StylesheetExecutionContext</a>, <a class="el" href="classStylesheetExecutionContextDefault.html#a489078725f0b847c62ed54ded52091e4">StylesheetExecutionContextDefault</a>, <a class="el" href="classXSLTProcessor.html#a18652e7bb4ca4be7dc59c0bfb6c72a69">XSLTProcessor</a>, <a class="el" href="classXSLTProcessorEnvSupport.html#a4202c3a9a9a1cc14ce3d17e9c19c8037">XSLTProcessorEnvSupport</a>, <a class="el" href="classXSLTProcessorEnvSupportDefault.html#a6e91894183f0c04bd51e4489c2a9f272">XSLTProcessorEnvSupportDefault</a>, <a class="el" href="classXalanTransformerProblemListener.html#aa05eeec3e483444f1b57fa7b14f65890">XalanTransformerProblemListener</a>, <a class="el" href="classExecutionContext.html#ac03a4ad6f7a58fb10eeaa6b027e83003">ExecutionContext</a>, <a class="el" href="classXPathConstructionContext.html#aae1690ebe9324ab6ba58f2232602dbda">XPathConstructionContext</a>, <a class="el" href="classXPathConstructionContextDefault.html#ac306a9b3157757353716caffd80bf918">XPathConstructionContextDefault</a>, <a class="el" href="classXPathEnvSupport.html#a97e81ec88c0089ba7b4c1c5ca23e02bf">XPathEnvSupport</a>, <a class="el" href="classXPathEnvSupportDefault.html#ab4796f1e9ebf22b0af38ea5ddbeec75a">XPathEnvSupportDefault</a>, <a class="el" href="classXPathExecutionContext.html#aba684e720626568df72c1756f8a0668d">XPathExecutionContext</a>, and <a class="el" href="classXPathExecutionContextDefault.html#ab2bf3ef366010729dec0ba37de0f5d7b">XPathExecutionContextDefault</a>.</p>
</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="aae8a30e6ccef0a1be3c80df08e8d510e"></a><!-- doxytag: member="ProblemListenerBase::s_messageCodes" ref="aae8a30e6ccef0a1be3c80df08e8d510e" args="[eSourceCount][eClassificationCount]" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const XalanMessages::Codes <a class="el" href="classProblemListenerBase.html#aae8a30e6ccef0a1be3c80df08e8d510e">ProblemListenerBase::s_messageCodes</a>[eSourceCount][eClassificationCount]<code> [static, protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Definition at line <a class="el" href="ProblemListenerBase_8hpp_source.html#l00156">156</a> of file <a class="el" href="ProblemListenerBase_8hpp_source.html">ProblemListenerBase.hpp</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="ProblemListenerBase_8hpp_source.html">ProblemListenerBase.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>