blob: 9c1207870340c971a4954213744f32882ccb3424 [file] [log] [blame]
<HTML><HEAD><TITLE>Xalan-C++ API Documentation</TITLE></HEAD>
<BODY>
<h2 align="center">Xalan-C++ API Documentation</h2>
<h3 align="center">The Xalan C++ XSLT Processor Version 1.10</h3>
</BODY>
<!-- Generated by Doxygen 1.2.8.1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>FormatterStringLengthCounter Class Reference</h1>This class takes SAX events (in addition to some extra events that SAX doesn't handle yet) and produces counts the characters sent to the characters event.
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="FormatterStringLengthCounter_8hpp-source.html">FormatterStringLengthCounter.hpp</a>&gt;</code>
<p>
Inheritance diagram for FormatterStringLengthCounter:<p><center><img src="classFormatterStringLengthCounter__inherit__graph.gif" border="0" usemap="#FormatterStringLengthCounter_inherit_map" alt="Inheritance graph"></center>
<map name="FormatterStringLengthCounter_inherit_map">
<area href="classFormatterListener.html" shape="rect" coords="44,42,161,18">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for FormatterStringLengthCounter:<p><center><img src="classFormatterStringLengthCounter__coll__graph.gif" border="0" usemap="#FormatterStringLengthCounter_coll_map" alt="Collaboration graph"></center>
<map name="FormatterStringLengthCounter_coll_map">
<area href="classFormatterListener.html" shape="rect" coords="44,42,161,18">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classFormatterStringLengthCounter-members.html">List of all members.</a><h2>Public Types</h2>
<ul>
<li>typedef unsigned long <a class="el" href="classFormatterStringLengthCounter.html#s0">size_type</a>
</ul>
<h2>Public Methods</h2>
<ul>
<li><a class="el" href="classFormatterStringLengthCounter.html#a0">FormatterStringLengthCounter</a> ()
<dl class="el"><dd><font size=-1><em>FormatterStringLengthCounter instance constructor.</em> <a href="#a0">More...</a><em><br><br></em></font></dl><li>virtual <a class="el" href="classFormatterStringLengthCounter.html#a1">~FormatterStringLengthCounter</a> ()
<li><a class="el" href="classFormatterStringLengthCounter.html#s0">size_type</a> <a class="el" href="classFormatterStringLengthCounter.html#a2">getCount</a> () const
<li>virtual void <a class="el" href="classFormatterStringLengthCounter.html#a3">setDocumentLocator</a> (const <a class="el" href="ElemTemplateElement_8hpp.html#a1">LocatorType</a> *const locator)
<li>virtual void <a class="el" href="classFormatterStringLengthCounter.html#a4">startDocument</a> ()
<li>virtual void <a class="el" href="classFormatterStringLengthCounter.html#a5">endDocument</a> ()
<li>virtual void <a class="el" href="classFormatterStringLengthCounter.html#a6">startElement</a> (const XMLCh *const name, <a class="el" href="classAttributeListType.html">AttributeListType</a> &amp;attrs)
<li>virtual void <a class="el" href="classFormatterStringLengthCounter.html#a7">endElement</a> (const XMLCh *const name)
<li>virtual void <a class="el" href="classFormatterStringLengthCounter.html#a8">characters</a> (const XMLCh *const chars, const unsigned int length)
<li>virtual void <a class="el" href="classFormatterStringLengthCounter.html#a9">charactersRaw</a> (const XMLCh *const chars, const unsigned int length)
<li>virtual void <a class="el" href="classFormatterStringLengthCounter.html#a10">entityReference</a> (const XMLCh *const name)
<li>virtual void <a class="el" href="classFormatterStringLengthCounter.html#a11">ignorableWhitespace</a> (const XMLCh *const chars, const unsigned int length)
<li>virtual void <a class="el" href="classFormatterStringLengthCounter.html#a12">processingInstruction</a> (const XMLCh *const target, const XMLCh *const data)
<li>virtual void <a class="el" href="classFormatterStringLengthCounter.html#a13">resetDocument</a> ()
<li>virtual void <a class="el" href="classFormatterStringLengthCounter.html#a14">comment</a> (const XMLCh *const data)
<li>virtual void <a class="el" href="classFormatterStringLengthCounter.html#a15">cdata</a> (const XMLCh *const ch, const unsigned int length)
</ul>
<hr><a name="_details"></a><h2>Detailed Description</h2>
This class takes SAX events (in addition to some extra events that SAX doesn't handle yet) and produces counts the characters sent to the characters event.
<p>
<hr><h2>Member Typedef Documentation</h2>
<a name="s0" doxytag="FormatterStringLengthCounter::size_type"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
typedef unsigned long FormatterStringLengthCounter::size_type
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="FormatterStringLengthCounter::FormatterStringLengthCounter"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
FormatterStringLengthCounter::FormatterStringLengthCounter (
</b></td>
<td valign="bottom"><b>
)<code> [explicit]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
FormatterStringLengthCounter instance constructor.
<p>
</td>
</tr>
</table>
<a name="a1" doxytag="FormatterStringLengthCounter::~FormatterStringLengthCounter"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
FormatterStringLengthCounter::~FormatterStringLengthCounter (
</b></td>
<td valign="bottom"><b>
)<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="a15" doxytag="FormatterStringLengthCounter::cdata"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
void FormatterStringLengthCounter::cdata (
</b></td>
<td valign="bottom"><b>
const XMLCh *const <em>ch</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const unsigned int <em>length</em>&nbsp;)<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="a8" doxytag="FormatterStringLengthCounter::characters"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
void FormatterStringLengthCounter::characters (
</b></td>
<td valign="bottom"><b>
const XMLCh *const <em>chars</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const unsigned int <em>length</em>&nbsp;)<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="a9" doxytag="FormatterStringLengthCounter::charactersRaw"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
void FormatterStringLengthCounter::charactersRaw (
</b></td>
<td valign="bottom"><b>
const XMLCh *const <em>chars</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const unsigned int <em>length</em>&nbsp;)<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="a14" doxytag="FormatterStringLengthCounter::comment"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
void FormatterStringLengthCounter::comment (
</b></td>
<td valign="bottom"><b>
const XMLCh *const <em>data</em>&nbsp;)<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="a5" doxytag="FormatterStringLengthCounter::endDocument"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
void FormatterStringLengthCounter::endDocument (
</b></td>
<td valign="bottom"><b>
)<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="a7" doxytag="FormatterStringLengthCounter::endElement"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
void FormatterStringLengthCounter::endElement (
</b></td>
<td valign="bottom"><b>
const XMLCh *const <em>name</em>&nbsp;)<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="a10" doxytag="FormatterStringLengthCounter::entityReference"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
void FormatterStringLengthCounter::entityReference (
</b></td>
<td valign="bottom"><b>
const XMLCh *const <em>name</em>&nbsp;)<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="a2" doxytag="FormatterStringLengthCounter::getCount"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
<a class="el" href="classFormatterStringLengthCounter.html#s0">size_type</a> FormatterStringLengthCounter::getCount (
</b></td>
<td valign="bottom"><b>
) const
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="a11" doxytag="FormatterStringLengthCounter::ignorableWhitespace"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
void FormatterStringLengthCounter::ignorableWhitespace (
</b></td>
<td valign="bottom"><b>
const XMLCh *const <em>chars</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const unsigned int <em>length</em>&nbsp;)<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="a12" doxytag="FormatterStringLengthCounter::processingInstruction"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
void FormatterStringLengthCounter::processingInstruction (
</b></td>
<td valign="bottom"><b>
const XMLCh *const <em>target</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const XMLCh *const <em>data</em>&nbsp;)<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="a13" doxytag="FormatterStringLengthCounter::resetDocument"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
void FormatterStringLengthCounter::resetDocument (
</b></td>
<td valign="bottom"><b>
)<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="a3" doxytag="FormatterStringLengthCounter::setDocumentLocator"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
void FormatterStringLengthCounter::setDocumentLocator (
</b></td>
<td valign="bottom"><b>
const <a class="el" href="ElemTemplateElement_8hpp.html#a1">LocatorType</a> *const <em>locator</em>&nbsp;)<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="a4" doxytag="FormatterStringLengthCounter::startDocument"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
void FormatterStringLengthCounter::startDocument (
</b></td>
<td valign="bottom"><b>
)<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a name="a6" doxytag="FormatterStringLengthCounter::startElement"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap valign="top"><b>
void FormatterStringLengthCounter::startElement (
</b></td>
<td valign="bottom"><b>
const XMLCh *const <em>name</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
<a class="el" href="classAttributeListType.html">AttributeListType</a> &amp; <em>attrs</em>&nbsp;)<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="FormatterStringLengthCounter_8hpp-source.html">FormatterStringLengthCounter.hpp</a></ul>
<p align="center"><a href="diagramnotes.html">Interpreting class diagrams</a></p>
<p><FONT color="#000000" face="arial,helvetica,sanserif" size="-1">
<i><A href="http://www.stack.nl/~dimitri/doxygen/">Doxygen</A> and
<A href="http://www.research.att.com/sw/tools/graphviz/">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="820"><TR><TD bgcolor="#0086b2"><IMG height="1" src="../resources/dot.gif" width="1" alt="dot"></TD></TR></TABLE>
<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.10</B><BR>
Copyright &copy; 1999-2004 The Apache Software Foundation. All Rights Reserved.</i></p>
</TD>
</TR>
<TR>
<TD WIDTH="100%">
<P ALIGN="CENTER"><IMG SRC="ApacheLogo.jpg" WIDTH="387" HEIGHT="100" ALIGN="BOTTOM" BORDER="0" ALT="Apache Logo">
</TD>
</TR>
</TABLE>