1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167
|
<!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>
<title>Class Poco::XML::DefaultHandler</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<meta name="author" content="Applied Informatics Software Engineering GmbH and Contributors"/>
<meta name="publisher" content="Applied Informatics Software Engineering GmbH and Contributors"/>
<meta name="copyright" content="Copyright (c) 2009, Applied Informatics Software Engineering GmbH and Contributors"/>
<meta name="language" content="en"/>
<meta name="date" content="2009-11-24"/>
<meta name="generator" content="PocoDoc"/>
<link rel="stylesheet" href="css/styles.css" type="text/css"/>
</head>
<body bgcolor="#ffffff" leftmargin="0" topmargin="0">
<div class="header">
<h1 class="namespace"><a href="Poco.XML.html" class="namespace">Poco::XML</a></h1>
<h1 class="symbol">class DefaultHandler</h1>
</div>
<div class="body">
<p>
<b>Library:</b> XML<br />
<b>Package:</b> SAX<br />
<b>Header:</b> Poco/SAX/DefaultHandler.h</p>
<h2>Description</h2>
<div class="description">
<p>Default base class for SAX2 event handlers. This class is available as a convenience base class for SAX2 applications: it provides default implementations for all of the callbacks in the four core SAX2 handler classes: </p>
<ul>
<li><a href="Poco.XML.EntityResolver.html" title="class Poco::XML::EntityResolver">EntityResolver</a> </li>
<li><a href="Poco.XML.DTDHandler.html" title="class Poco::XML::DTDHandler">DTDHandler</a> </li>
<li><a href="Poco.XML.ContentHandler.html" title="class Poco::XML::ContentHandler">ContentHandler</a> </li>
<li><a href="Poco.XML.ErrorHandler.html" title="class Poco::XML::ErrorHandler">ErrorHandler</a> </li>
</ul>
<p>Application writers can extend this class when they need to implement only part of an interface; parser writers can instantiate this class to provide default handlers when the application has not supplied its own. </p>
</div>
<h2>Inheritance</h2>
<p><b>Direct Base Classes: </b><a href="Poco.XML.EntityResolver.html" title="class Poco::XML::EntityResolver">EntityResolver</a>, <a href="Poco.XML.DTDHandler.html" title="class Poco::XML::DTDHandler">DTDHandler</a>, <a href="Poco.XML.ContentHandler.html" title="class Poco::XML::ContentHandler">ContentHandler</a>, <a href="Poco.XML.ErrorHandler.html" title="class Poco::XML::ErrorHandler">ErrorHandler</a></p>
<p><b>All Base Classes: </b><a href="Poco.XML.ContentHandler.html" title="class Poco::XML::ContentHandler">ContentHandler</a>, <a href="Poco.XML.DTDHandler.html" title="class Poco::XML::DTDHandler">DTDHandler</a>, <a href="Poco.XML.EntityResolver.html" title="class Poco::XML::EntityResolver">EntityResolver</a>, <a href="Poco.XML.ErrorHandler.html" title="class Poco::XML::ErrorHandler">ErrorHandler</a></p>
<h2>Member Summary</h2>
<p><b>Member Functions: </b><a href="Poco.XML.DefaultHandler.html#18942" title="Poco::XML::DefaultHandler::characters()">characters</a>, <a href="Poco.XML.DefaultHandler.html#18932" title="Poco::XML::DefaultHandler::endDocument()">endDocument</a>, <a href="Poco.XML.DefaultHandler.html#18938" title="Poco::XML::DefaultHandler::endElement()">endElement</a>, <a href="Poco.XML.DefaultHandler.html#18956" title="Poco::XML::DefaultHandler::endPrefixMapping()">endPrefixMapping</a>, <a href="Poco.XML.DefaultHandler.html#18962" title="Poco::XML::DefaultHandler::error()">error</a>, <a href="Poco.XML.DefaultHandler.html#18964" title="Poco::XML::DefaultHandler::fatalError()">fatalError</a>, <a href="Poco.XML.DefaultHandler.html#18946" title="Poco::XML::DefaultHandler::ignorableWhitespace()">ignorableWhitespace</a>, <a href="Poco.XML.DefaultHandler.html#18920" title="Poco::XML::DefaultHandler::notationDecl()">notationDecl</a>, <a href="Poco.XML.DefaultHandler.html#18950" title="Poco::XML::DefaultHandler::processingInstruction()">processingInstruction</a>, <a href="Poco.XML.DefaultHandler.html#18918" title="Poco::XML::DefaultHandler::releaseInputSource()">releaseInputSource</a>, <a href="Poco.XML.DefaultHandler.html#18915" title="Poco::XML::DefaultHandler::resolveEntity()">resolveEntity</a>, <a href="Poco.XML.DefaultHandler.html#18929" title="Poco::XML::DefaultHandler::setDocumentLocator()">setDocumentLocator</a>, <a href="Poco.XML.DefaultHandler.html#18958" title="Poco::XML::DefaultHandler::skippedEntity()">skippedEntity</a>, <a href="Poco.XML.DefaultHandler.html#18931" title="Poco::XML::DefaultHandler::startDocument()">startDocument</a>, <a href="Poco.XML.DefaultHandler.html#18933" title="Poco::XML::DefaultHandler::startElement()">startElement</a>, <a href="Poco.XML.DefaultHandler.html#18953" title="Poco::XML::DefaultHandler::startPrefixMapping()">startPrefixMapping</a>, <a href="Poco.XML.DefaultHandler.html#18924" title="Poco::XML::DefaultHandler::unparsedEntityDecl()">unparsedEntityDecl</a>, <a href="Poco.XML.DefaultHandler.html#18960" title="Poco::XML::DefaultHandler::warning()">warning</a></p>
<p><b>Inherited Functions: </b><a href="Poco.XML.ContentHandler.html#18865" title="Poco::XML::ContentHandler::characters()">characters</a>, <a href="Poco.XML.ContentHandler.html#18855" title="Poco::XML::ContentHandler::endDocument()">endDocument</a>, <a href="Poco.XML.ContentHandler.html#18861" title="Poco::XML::ContentHandler::endElement()">endElement</a>, <a href="Poco.XML.ContentHandler.html#18879" title="Poco::XML::ContentHandler::endPrefixMapping()">endPrefixMapping</a>, <a href="Poco.XML.ErrorHandler.html#18993" title="Poco::XML::ErrorHandler::error()">error</a>, <a href="Poco.XML.ErrorHandler.html#18995" title="Poco::XML::ErrorHandler::fatalError()">fatalError</a>, <a href="Poco.XML.ContentHandler.html#18869" title="Poco::XML::ContentHandler::ignorableWhitespace()">ignorableWhitespace</a>, <a href="Poco.XML.DTDHandler.html#18885" title="Poco::XML::DTDHandler::notationDecl()">notationDecl</a>, <a href="Poco.XML.ContentHandler.html#18873" title="Poco::XML::ContentHandler::processingInstruction()">processingInstruction</a>, <a href="Poco.XML.EntityResolver.html#18970" title="Poco::XML::EntityResolver::releaseInputSource()">releaseInputSource</a>, <a href="Poco.XML.EntityResolver.html#18967" title="Poco::XML::EntityResolver::resolveEntity()">resolveEntity</a>, <a href="Poco.XML.ContentHandler.html#18852" title="Poco::XML::ContentHandler::setDocumentLocator()">setDocumentLocator</a>, <a href="Poco.XML.ContentHandler.html#18881" title="Poco::XML::ContentHandler::skippedEntity()">skippedEntity</a>, <a href="Poco.XML.ContentHandler.html#18854" title="Poco::XML::ContentHandler::startDocument()">startDocument</a>, <a href="Poco.XML.ContentHandler.html#18856" title="Poco::XML::ContentHandler::startElement()">startElement</a>, <a href="Poco.XML.ContentHandler.html#18876" title="Poco::XML::ContentHandler::startPrefixMapping()">startPrefixMapping</a>, <a href="Poco.XML.DTDHandler.html#18889" title="Poco::XML::DTDHandler::unparsedEntityDecl()">unparsedEntityDecl</a>, <a href="Poco.XML.ErrorHandler.html#18991" title="Poco::XML::ErrorHandler::warning()">warning</a></p>
<h2>Constructors</h2>
<h3><a name="18913">DefaultHandler</a></h3>
<p class="decl"><a href="Poco.XML.DefaultHandler.html" title="class Poco::XML::DefaultHandler">DefaultHandler</a>();</p>
<div class="description">
<p>Creates the <a href="Poco.XML.DefaultHandler.html" title="class Poco::XML::DefaultHandler">DefaultHandler</a>. </p>
</div>
<h2>Destructor</h2>
<h3><a name="18914">~DefaultHandler</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">~<a href="Poco.XML.DefaultHandler.html" title="class Poco::XML::DefaultHandler">DefaultHandler</a>();</p>
<div class="description">
<p>Destroys the <a href="Poco.XML.DefaultHandler.html" title="class Poco::XML::DefaultHandler">DefaultHandler</a>. </p>
</div>
<h2>Member Functions</h2>
<h3><a name="18942">characters</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">void characters(<br /> const <a href="Poco.XML.html#19840" title="Poco::XML::XMLChar">XMLChar</a> ch[],<br /> int start,<br /> int length<br />);</p>
<div class="description">
<p></p>
</div>
<div class="description"><p><b>See also:</b> <a href="Poco.XML.ContentHandler.html#18865" title="Poco::XML::ContentHandler::characters()">Poco::XML::ContentHandler::characters()</a></p></div>
<h3><a name="18932">endDocument</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">void endDocument();</p>
<div class="description">
<p></p>
</div>
<div class="description"><p><b>See also:</b> <a href="Poco.XML.ContentHandler.html#18855" title="Poco::XML::ContentHandler::endDocument()">Poco::XML::ContentHandler::endDocument()</a></p></div>
<h3><a name="18938">endElement</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">void endElement(<br /> const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> & uri,<br /> const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> & localName,<br /> const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> & qname<br />);</p>
<div class="description">
<p></p>
</div>
<div class="description"><p><b>See also:</b> <a href="Poco.XML.ContentHandler.html#18861" title="Poco::XML::ContentHandler::endElement()">Poco::XML::ContentHandler::endElement()</a></p></div>
<h3><a name="18956">endPrefixMapping</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">void endPrefixMapping(<br /> const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> & prefix<br />);</p>
<div class="description">
<p></p>
</div>
<div class="description"><p><b>See also:</b> <a href="Poco.XML.ContentHandler.html#18879" title="Poco::XML::ContentHandler::endPrefixMapping()">Poco::XML::ContentHandler::endPrefixMapping()</a></p></div>
<h3><a name="18962">error</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">void error(<br /> const <a href="Poco.XML.SAXException.html" title="class Poco::XML::SAXException">SAXException</a> & exc<br />);</p>
<div class="description">
<p></p>
</div>
<div class="description"><p><b>See also:</b> <a href="Poco.XML.ErrorHandler.html#18993" title="Poco::XML::ErrorHandler::error()">Poco::XML::ErrorHandler::error()</a></p></div>
<h3><a name="18964">fatalError</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">void fatalError(<br /> const <a href="Poco.XML.SAXException.html" title="class Poco::XML::SAXException">SAXException</a> & exc<br />);</p>
<div class="description">
<p></p>
</div>
<div class="description"><p><b>See also:</b> <a href="Poco.XML.ErrorHandler.html#18995" title="Poco::XML::ErrorHandler::fatalError()">Poco::XML::ErrorHandler::fatalError()</a></p></div>
<h3><a name="18946">ignorableWhitespace</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">void ignorableWhitespace(<br /> const <a href="Poco.XML.html#19840" title="Poco::XML::XMLChar">XMLChar</a> ch[],<br /> int start,<br /> int length<br />);</p>
<div class="description">
<p></p>
</div>
<div class="description"><p><b>See also:</b> <a href="Poco.XML.ContentHandler.html#18869" title="Poco::XML::ContentHandler::ignorableWhitespace()">Poco::XML::ContentHandler::ignorableWhitespace()</a></p></div>
<h3><a name="18920">notationDecl</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">void notationDecl(<br /> const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> & name,<br /> const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> * publicId,<br /> const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> * systemId<br />);</p>
<div class="description">
<p></p>
</div>
<div class="description"><p><b>See also:</b> <a href="Poco.XML.DTDHandler.html#18885" title="Poco::XML::DTDHandler::notationDecl()">Poco::XML::DTDHandler::notationDecl()</a></p></div>
<h3><a name="18950">processingInstruction</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">void processingInstruction(<br /> const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> & target,<br /> const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> & data<br />);</p>
<div class="description">
<p></p>
</div>
<div class="description"><p><b>See also:</b> <a href="Poco.XML.ContentHandler.html#18873" title="Poco::XML::ContentHandler::processingInstruction()">Poco::XML::ContentHandler::processingInstruction()</a></p></div>
<h3><a name="18918">releaseInputSource</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">void releaseInputSource(<br /> <a href="Poco.XML.InputSource.html" title="class Poco::XML::InputSource">InputSource</a> * pSource<br />);</p>
<div class="description">
<p></p>
</div>
<div class="description"><p><b>See also:</b> <a href="Poco.XML.EntityResolver.html#18970" title="Poco::XML::EntityResolver::releaseInputSource()">Poco::XML::EntityResolver::releaseInputSource()</a></p></div>
<h3><a name="18915">resolveEntity</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl"><a href="Poco.XML.InputSource.html" title="class Poco::XML::InputSource">InputSource</a> * resolveEntity(<br /> const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> * publicId,<br /> const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> & systemId<br />);</p>
<div class="description">
<p></p>
</div>
<div class="description"><p><b>See also:</b> <a href="Poco.XML.EntityResolver.html#18967" title="Poco::XML::EntityResolver::resolveEntity()">Poco::XML::EntityResolver::resolveEntity()</a></p></div>
<h3><a name="18929">setDocumentLocator</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">void setDocumentLocator(<br /> const <a href="Poco.XML.Locator.html" title="class Poco::XML::Locator">Locator</a> * loc<br />);</p>
<div class="description">
<p></p>
</div>
<div class="description"><p><b>See also:</b> <a href="Poco.XML.ContentHandler.html#18852" title="Poco::XML::ContentHandler::setDocumentLocator()">Poco::XML::ContentHandler::setDocumentLocator()</a></p></div>
<h3><a name="18958">skippedEntity</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">void skippedEntity(<br /> const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> & name<br />);</p>
<div class="description">
<p></p>
</div>
<div class="description"><p><b>See also:</b> <a href="Poco.XML.ContentHandler.html#18881" title="Poco::XML::ContentHandler::skippedEntity()">Poco::XML::ContentHandler::skippedEntity()</a></p></div>
<h3><a name="18931">startDocument</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">void startDocument();</p>
<div class="description">
<p></p>
</div>
<div class="description"><p><b>See also:</b> <a href="Poco.XML.ContentHandler.html#18854" title="Poco::XML::ContentHandler::startDocument()">Poco::XML::ContentHandler::startDocument()</a></p></div>
<h3><a name="18933">startElement</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">void startElement(<br /> const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> & uri,<br /> const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> & localName,<br /> const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> & qname,<br /> const <a href="Poco.XML.Attributes.html" title="class Poco::XML::Attributes">Attributes</a> & attributes<br />);</p>
<div class="description">
<p></p>
</div>
<div class="description"><p><b>See also:</b> <a href="Poco.XML.ContentHandler.html#18856" title="Poco::XML::ContentHandler::startElement()">Poco::XML::ContentHandler::startElement()</a></p></div>
<h3><a name="18953">startPrefixMapping</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">void startPrefixMapping(<br /> const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> & prefix,<br /> const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> & uri<br />);</p>
<div class="description">
<p></p>
</div>
<div class="description"><p><b>See also:</b> <a href="Poco.XML.ContentHandler.html#18876" title="Poco::XML::ContentHandler::startPrefixMapping()">Poco::XML::ContentHandler::startPrefixMapping()</a></p></div>
<h3><a name="18924">unparsedEntityDecl</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">void unparsedEntityDecl(<br /> const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> & name,<br /> const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> * publicId,<br /> const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> & systemId,<br /> const <a href="Poco.XML.html#19841" title="Poco::XML::XMLString">XMLString</a> & notationName<br />);</p>
<div class="description">
<p></p>
</div>
<div class="description"><p><b>See also:</b> <a href="Poco.XML.DTDHandler.html#18889" title="Poco::XML::DTDHandler::unparsedEntityDecl()">Poco::XML::DTDHandler::unparsedEntityDecl()</a></p></div>
<h3><a name="18960">warning</a> <img src="images/virtual.gif" alt="virtual" title="virtual" style="vertical-align:baseline;" border="0" /> </h3>
<p class="decl">void warning(<br /> const <a href="Poco.XML.SAXException.html" title="class Poco::XML::SAXException">SAXException</a> & exc<br />);</p>
<div class="description">
<p></p>
</div>
<div class="description"><p><b>See also:</b> <a href="Poco.XML.ErrorHandler.html#18991" title="Poco::XML::ErrorHandler::warning()">Poco::XML::ErrorHandler::warning()</a></p></div>
<p class="footer">POCO C++ Libraries 1.3.6-all<br />
Copyright © 2009, <a href="http://pocoproject.org/" target="_blank">Applied Informatics Software Engineering GmbH and Contributors</a></p>
</div>
</body>
</html>
|