blob: 74e58d1067b905ac9b519e43b3eaff9474c89d31 [file] [log] [blame]
<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Class DefaultHandler
| Apache Lucene.NET 4.8.0-beta00010 Documentation </title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="Class DefaultHandler
| Apache Lucene.NET 4.8.0-beta00010 Documentation ">
<meta name="generator" content="docfx 2.56.0.0">
<link rel="shortcut icon" href="https://lucenenet.apache.org/docs/4.8.0-beta00009/logo/favicon.ico">
<link rel="stylesheet" href="https://lucenenet.apache.org/docs/4.8.0-beta00009/styles/docfx.vendor.css">
<link rel="stylesheet" href="https://lucenenet.apache.org/docs/4.8.0-beta00009/styles/docfx.css">
<link rel="stylesheet" href="https://lucenenet.apache.org/docs/4.8.0-beta00009/styles/main.css">
<meta property="docfx:navrel" content="toc.html">
<meta property="docfx:tocrel" content="benchmark/toc.html">
<meta property="docfx:rel" content="https://lucenenet.apache.org/docs/4.8.0-beta00009/">
</head>
<body data-spy="scroll" data-target="#affix" data-offset="120">
<div id="wrapper">
<header>
<nav id="autocollapse" class="navbar ng-scope" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/">
<img id="logo" class="svg" src="https://lucenenet.apache.org/docs/4.8.0-beta00009/logo/lucene-net-color.png" alt="">
</a>
</div>
<div class="collapse navbar-collapse" id="navbar">
<form class="navbar-form navbar-right" role="search" id="search">
<div class="form-group">
<input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
</div>
</form>
</div>
</div>
</nav>
<div class="subnav navbar navbar-default">
<div class="container hide-when-search">
<ul class="level0 breadcrumb">
<li>
<a href="https://lucenenet.apache.org/docs/4.8.0-beta00009/">API</a>
<span id="breadcrumb">
<ul class="breadcrumb">
<li></li>
</ul>
</span>
</li>
</ul>
</div>
</div>
</header>
<div class="container body-content">
<div id="search-results">
<div class="search-list"></div>
<div class="sr-items">
<p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
</div>
<ul id="pagination"></ul>
</div>
</div>
<div role="main" class="container body-content hide-when-search">
<div class="sidenav hide-when-search">
<a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
<div class="sidetoggle collapse" id="sidetoggle">
<div id="sidetoc"></div>
</div>
</div>
<div class="article row grid-right">
<div class="col-md-10">
<article class="content wrap" id="_content" data-uid="Sax.Helpers.DefaultHandler">
<h1 id="Sax_Helpers_DefaultHandler" data-uid="Sax.Helpers.DefaultHandler" class="text-break">Class DefaultHandler
</h1>
<div class="markdown level0 summary"><p>Default base class for SAX2 event handlers.</p>
</div>
<div class="markdown level0 conceptual"></div>
<div class="inheritance">
<h5>Inheritance</h5>
<div class="level0"><span class="xref">System.Object</span></div>
<div class="level1"><span class="xref">DefaultHandler</span></div>
<div class="level2"><a class="xref" href="Sax.Ext.DefaultHandler2.html">DefaultHandler2</a></div>
<div class="level2"><a class="xref" href="TagSoup.Parser.html">Parser</a></div>
</div>
<div classs="implements">
<h5>Implements</h5>
<div><a class="xref" href="Sax.IEntityResolver.html">IEntityResolver</a></div>
<div><a class="xref" href="Sax.IDTDHandler.html">IDTDHandler</a></div>
<div><a class="xref" href="Sax.IContentHandler.html">IContentHandler</a></div>
<div><a class="xref" href="Sax.IErrorHandler.html">IErrorHandler</a></div>
</div>
<div class="inheritedMembers">
<h5>Inherited Members</h5>
<div>
<span class="xref">System.Object.Equals(System.Object)</span>
</div>
<div>
<span class="xref">System.Object.Equals(System.Object, System.Object)</span>
</div>
<div>
<span class="xref">System.Object.GetHashCode()</span>
</div>
<div>
<span class="xref">System.Object.GetType()</span>
</div>
<div>
<span class="xref">System.Object.MemberwiseClone()</span>
</div>
<div>
<span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
</div>
<div>
<span class="xref">System.Object.ToString()</span>
</div>
</div>
<h6><strong>Namespace</strong>: <a class="xref" href="Sax.Helpers.html">Sax.Helpers</a></h6>
<h6><strong>Assembly</strong>: Lucene.Net.Benchmark.dll</h6>
<h5 id="Sax_Helpers_DefaultHandler_syntax">Syntax</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public class DefaultHandler : IEntityResolver, IDTDHandler, IContentHandler, IErrorHandler</code></pre>
</div>
<h5 id="Sax_Helpers_DefaultHandler_remarks"><strong>Remarks</strong></h5>
<div class="markdown level0 remarks"><p><em>This module, both source code and documentation, is in the
Public Domain, and comes with<strong> NO WARRANTY</strong>.</em>
See<a href="http://www.saxproject.org">http://www.saxproject.org</a>
for further information.
<p>
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:
<ol><li><a class="xref" href="Sax.IEntityResolver.html">IEntityResolver</a></li><li><a class="xref" href="Sax.IDTDHandler.html">IDTDHandler</a></li><li><a class="xref" href="Sax.IContentHandler.html">IContentHandler</a></li><li><a class="xref" href="Sax.IErrorHandler.html">IErrorHandler</a></li></ol>
<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>
This class replaces the deprecated SAX1
Sax.HandlerBase class.</p>
</div>
<h3 id="methods">Methods
</h3>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Sax_Helpers_DefaultHandler_Characters_System_Char___System_Int32_System_Int32_.md&amp;value=---%0Auid%3A%20Sax.Helpers.DefaultHandler.Characters(System.Char%5B%5D%2CSystem.Int32%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.Benchmark/Support/Sax/Helpers/DefaultHandler.cs/#L265">View Source</a>
</span>
<a id="Sax_Helpers_DefaultHandler_Characters_" data-uid="Sax.Helpers.DefaultHandler.Characters*"></a>
<h4 id="Sax_Helpers_DefaultHandler_Characters_System_Char___System_Int32_System_Int32_" data-uid="Sax.Helpers.DefaultHandler.Characters(System.Char[],System.Int32,System.Int32)">Characters(Char[], Int32, Int32)</h4>
<div class="markdown level1 summary"><p>Receive notification of character data inside an element.
<p>By default, do nothing. Application writers may override this
method to take specific actions for each chunk of character data
(such as adding the data to a node or buffer, or printing it to
a file).</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void Characters(char[] ch, int start, int length)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Char</span>[]</td>
<td><span class="parametername">ch</span></td>
<td><p>The characters.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">start</span></td>
<td><p>The start position in the character array.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">length</span></td>
<td><p>The number of characters to use from the character array.</p>
</td>
</tr>
</tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Condition</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Sax.SAXException.html">SAXException</a></td>
<td><p>Any SAX exception, possibly
wrapping another exception.</p>
</td>
</tr>
</tbody>
</table>
<h5 id="Sax_Helpers_DefaultHandler_Characters_System_Char___System_Int32_System_Int32__seealso">See Also</h5>
<div class="seealso">
<div><a class="xref" href="Sax.IContentHandler.html#Sax_IContentHandler_Characters_System_Char___System_Int32_System_Int32_">Characters</a>(<span class="xref">System.Char</span>[], <span class="xref">System.Int32</span>, <span class="xref">System.Int32</span>)</div>
</div>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Sax_Helpers_DefaultHandler_EndDocument.md&amp;value=---%0Auid%3A%20Sax.Helpers.DefaultHandler.EndDocument%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.Benchmark/Support/Sax/Helpers/DefaultHandler.cs/#L161">View Source</a>
</span>
<a id="Sax_Helpers_DefaultHandler_EndDocument_" data-uid="Sax.Helpers.DefaultHandler.EndDocument*"></a>
<h4 id="Sax_Helpers_DefaultHandler_EndDocument" data-uid="Sax.Helpers.DefaultHandler.EndDocument">EndDocument()</h4>
<div class="markdown level1 summary"><p>Receive notification of the end of the document.
<p>By default, do nothing. Application writers may override this
method in a subclass to take specific actions at the end
of a document (such as finalising a tree or closing an output
file).</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void EndDocument()</code></pre>
</div>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Condition</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Sax.SAXException.html">SAXException</a></td>
<td><p>Any SAX exception, possibly
wrapping another exception.</p>
</td>
</tr>
</tbody>
</table>
<h5 id="Sax_Helpers_DefaultHandler_EndDocument_seealso">See Also</h5>
<div class="seealso">
<div><a class="xref" href="Sax.IContentHandler.html#Sax_IContentHandler_EndDocument">EndDocument</a>()</div>
</div>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Sax_Helpers_DefaultHandler_EndElement_System_String_System_String_System_String_.md&amp;value=---%0Auid%3A%20Sax.Helpers.DefaultHandler.EndElement(System.String%2CSystem.String%2CSystem.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.Benchmark/Support/Sax/Helpers/DefaultHandler.cs/#L246">View Source</a>
</span>
<a id="Sax_Helpers_DefaultHandler_EndElement_" data-uid="Sax.Helpers.DefaultHandler.EndElement*"></a>
<h4 id="Sax_Helpers_DefaultHandler_EndElement_System_String_System_String_System_String_" data-uid="Sax.Helpers.DefaultHandler.EndElement(System.String,System.String,System.String)">EndElement(String, String, String)</h4>
<div class="markdown level1 summary"><p>Receive notification of the end of an element.
<p>By default, do nothing. Application writers may override this
method in a subclass to take specific actions at the end of
each element (such as finalising a tree node or writing
output to a file).</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void EndElement(string uri, string localName, string qName)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">uri</span></td>
<td><p>The Namespace URI, or the empty string if the
element has no Namespace URI or if Namespace
processing is not being performed.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">localName</span></td>
<td><p>The local name (without prefix), or the
empty string if Namespace processing is not being
performed.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">qName</span></td>
<td><p>The qualified name (with prefix), or the
empty string if qualified names are not available.</p>
</td>
</tr>
</tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Condition</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Sax.SAXException.html">SAXException</a></td>
<td><p>Any SAX exception, possibly
wrapping another exception.</p>
</td>
</tr>
</tbody>
</table>
<h5 id="Sax_Helpers_DefaultHandler_EndElement_System_String_System_String_System_String__seealso">See Also</h5>
<div class="seealso">
<div><a class="xref" href="Sax.IContentHandler.html#Sax_IContentHandler_EndElement_System_String_System_String_System_String_">EndElement</a>(<span class="xref">System.String</span>, <span class="xref">System.String</span>, <span class="xref">System.String</span>)</div>
</div>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Sax_Helpers_DefaultHandler_EndPrefixMapping_System_String_.md&amp;value=---%0Auid%3A%20Sax.Helpers.DefaultHandler.EndPrefixMapping(System.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.Benchmark/Support/Sax/Helpers/DefaultHandler.cs/#L194">View Source</a>
</span>
<a id="Sax_Helpers_DefaultHandler_EndPrefixMapping_" data-uid="Sax.Helpers.DefaultHandler.EndPrefixMapping*"></a>
<h4 id="Sax_Helpers_DefaultHandler_EndPrefixMapping_System_String_" data-uid="Sax.Helpers.DefaultHandler.EndPrefixMapping(System.String)">EndPrefixMapping(String)</h4>
<div class="markdown level1 summary"><p>Receive notification of the end of a Namespace mapping.
<p>By default, do nothing. Application writers may override this
method in a subclass to take specific actions at the end of
each prefix mapping.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void EndPrefixMapping(string prefix)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">prefix</span></td>
<td><p>The Namespace prefix being declared.</p>
</td>
</tr>
</tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Condition</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Sax.SAXException.html">SAXException</a></td>
<td><p>Any SAX exception, possibly
wrapping another exception.</p>
</td>
</tr>
</tbody>
</table>
<h5 id="Sax_Helpers_DefaultHandler_EndPrefixMapping_System_String__seealso">See Also</h5>
<div class="seealso">
<div><a class="xref" href="Sax.IContentHandler.html#Sax_IContentHandler_EndPrefixMapping_System_String_">EndPrefixMapping</a>(<span class="xref">System.String</span>)</div>
</div>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Sax_Helpers_DefaultHandler_Error_Sax_SAXParseException_.md&amp;value=---%0Auid%3A%20Sax.Helpers.DefaultHandler.Error(Sax.SAXParseException)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.Benchmark/Support/Sax/Helpers/DefaultHandler.cs/#L364">View Source</a>
</span>
<a id="Sax_Helpers_DefaultHandler_Error_" data-uid="Sax.Helpers.DefaultHandler.Error*"></a>
<h4 id="Sax_Helpers_DefaultHandler_Error_Sax_SAXParseException_" data-uid="Sax.Helpers.DefaultHandler.Error(Sax.SAXParseException)">Error(SAXParseException)</h4>
<div class="markdown level1 summary"><p>Receive notification of a recoverable parser error.
<p>The default implementation does nothing. Application writers
may override this method in a subclass to take specific actions
for each error, such as inserting the message in a log file or
printing it to the console.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void Error(SAXParseException e)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Sax.SAXParseException.html">SAXParseException</a></td>
<td><span class="parametername">e</span></td>
<td><p>The warning information encoded as an exception.</p>
</td>
</tr>
</tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Condition</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Sax.SAXException.html">SAXException</a></td>
<td><p>Any SAX exception, possibly
wrapping another exception.</p>
</td>
</tr>
</tbody>
</table>
<h5 id="Sax_Helpers_DefaultHandler_Error_Sax_SAXParseException__seealso">See Also</h5>
<div class="seealso">
<div><a class="xref" href="Sax.IErrorHandler.html#Sax_IErrorHandler_Warning_Sax_SAXParseException_">Warning</a>(<a class="xref" href="Sax.SAXParseException.html">SAXParseException</a>)</div>
<div><a class="xref" href="Sax.SAXParseException.html">SAXParseException</a></div>
</div>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Sax_Helpers_DefaultHandler_FatalError_Sax_SAXParseException_.md&amp;value=---%0Auid%3A%20Sax.Helpers.DefaultHandler.FatalError(Sax.SAXParseException)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.Benchmark/Support/Sax/Helpers/DefaultHandler.cs/#L386">View Source</a>
</span>
<a id="Sax_Helpers_DefaultHandler_FatalError_" data-uid="Sax.Helpers.DefaultHandler.FatalError*"></a>
<h4 id="Sax_Helpers_DefaultHandler_FatalError_Sax_SAXParseException_" data-uid="Sax.Helpers.DefaultHandler.FatalError(Sax.SAXParseException)">FatalError(SAXParseException)</h4>
<div class="markdown level1 summary"><p>Report a fatal XML parsing error.
<p>
The default implementation throws a <a class="xref" href="Sax.SAXParseException.html">SAXParseException</a>.
Application writers may override this method in a subclass if
they need to take specific actions for each fatal error (such as
collecting all of the errors into a single report): in any case,
the application must stop all regular processing when this
method is invoked, since the document is no longer reliable, and
the parser may no longer report parsing events.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void FatalError(SAXParseException e)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Sax.SAXParseException.html">SAXParseException</a></td>
<td><span class="parametername">e</span></td>
<td><p>The error information encoded as an exception.</p>
</td>
</tr>
</tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Condition</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Sax.SAXException.html">SAXException</a></td>
<td><p>Any SAX exception, possibly
wrapping another exception.</p>
</td>
</tr>
</tbody>
</table>
<h5 id="Sax_Helpers_DefaultHandler_FatalError_Sax_SAXParseException__seealso">See Also</h5>
<div class="seealso">
<div><a class="xref" href="Sax.IErrorHandler.html#Sax_IErrorHandler_FatalError_Sax_SAXParseException_">FatalError</a>(<a class="xref" href="Sax.SAXParseException.html">SAXParseException</a>)</div>
<div><a class="xref" href="Sax.SAXParseException.html">SAXParseException</a></div>
</div>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Sax_Helpers_DefaultHandler_IgnorableWhitespace_System_Char___System_Int32_System_Int32_.md&amp;value=---%0Auid%3A%20Sax.Helpers.DefaultHandler.IgnorableWhitespace(System.Char%5B%5D%2CSystem.Int32%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.Benchmark/Support/Sax/Helpers/DefaultHandler.cs/#L285">View Source</a>
</span>
<a id="Sax_Helpers_DefaultHandler_IgnorableWhitespace_" data-uid="Sax.Helpers.DefaultHandler.IgnorableWhitespace*"></a>
<h4 id="Sax_Helpers_DefaultHandler_IgnorableWhitespace_System_Char___System_Int32_System_Int32_" data-uid="Sax.Helpers.DefaultHandler.IgnorableWhitespace(System.Char[],System.Int32,System.Int32)">IgnorableWhitespace(Char[], Int32, Int32)</h4>
<div class="markdown level1 summary"><p>Receive notification of ignorable whitespace in element content.
<p>
By default, do nothing. Application writers may override this
method to take specific actions for each chunk of ignorable
whitespace (such as adding data to a node or buffer, or printing
it to a file).</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void IgnorableWhitespace(char[] ch, int start, int length)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Char</span>[]</td>
<td><span class="parametername">ch</span></td>
<td><p>The whitespace characters.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">start</span></td>
<td><p>The start position in the character array.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">length</span></td>
<td><p>The number of characters to use from the character array.</p>
</td>
</tr>
</tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Condition</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Sax.SAXException.html">SAXException</a></td>
<td><p>Any SAX exception, possibly
wrapping another exception.</p>
</td>
</tr>
</tbody>
</table>
<h5 id="Sax_Helpers_DefaultHandler_IgnorableWhitespace_System_Char___System_Int32_System_Int32__seealso">See Also</h5>
<div class="seealso">
<div><a class="xref" href="Sax.IContentHandler.html#Sax_IContentHandler_IgnorableWhitespace_System_Char___System_Int32_System_Int32_">IgnorableWhitespace</a>(<span class="xref">System.Char</span>[], <span class="xref">System.Int32</span>, <span class="xref">System.Int32</span>)</div>
</div>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Sax_Helpers_DefaultHandler_NotationDecl_System_String_System_String_System_String_.md&amp;value=---%0Auid%3A%20Sax.Helpers.DefaultHandler.NotationDecl(System.String%2CSystem.String%2CSystem.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.Benchmark/Support/Sax/Helpers/DefaultHandler.cs/#L91">View Source</a>
</span>
<a id="Sax_Helpers_DefaultHandler_NotationDecl_" data-uid="Sax.Helpers.DefaultHandler.NotationDecl*"></a>
<h4 id="Sax_Helpers_DefaultHandler_NotationDecl_System_String_System_String_System_String_" data-uid="Sax.Helpers.DefaultHandler.NotationDecl(System.String,System.String,System.String)">NotationDecl(String, String, String)</h4>
<div class="markdown level1 summary"><p>Receive notification of a notation declaration.
<p>By default, do nothing. Application writers may override this
method in a subclass if they wish to keep track of the notations
declared in a document.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void NotationDecl(string name, string publicId, string systemId)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">name</span></td>
<td><p>The notation name.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">publicId</span></td>
<td><p>The notation public identifier, or null if not
available.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">systemId</span></td>
<td><p>The notation system identifier.</p>
</td>
</tr>
</tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Condition</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Sax.SAXException.html">SAXException</a></td>
<td><p>Any SAX exception, possibly
wrapping another exception.</p>
</td>
</tr>
</tbody>
</table>
<h5 id="Sax_Helpers_DefaultHandler_NotationDecl_System_String_System_String_System_String__seealso">See Also</h5>
<div class="seealso">
<div><a class="xref" href="Sax.IDTDHandler.html#Sax_IDTDHandler_NotationDecl_System_String_System_String_System_String_">NotationDecl</a>(<span class="xref">System.String</span>, <span class="xref">System.String</span>, <span class="xref">System.String</span>)</div>
</div>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Sax_Helpers_DefaultHandler_ProcessingInstruction_System_String_System_String_.md&amp;value=---%0Auid%3A%20Sax.Helpers.DefaultHandler.ProcessingInstruction(System.String%2CSystem.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.Benchmark/Support/Sax/Helpers/DefaultHandler.cs/#L304">View Source</a>
</span>
<a id="Sax_Helpers_DefaultHandler_ProcessingInstruction_" data-uid="Sax.Helpers.DefaultHandler.ProcessingInstruction*"></a>
<h4 id="Sax_Helpers_DefaultHandler_ProcessingInstruction_System_String_System_String_" data-uid="Sax.Helpers.DefaultHandler.ProcessingInstruction(System.String,System.String)">ProcessingInstruction(String, String)</h4>
<div class="markdown level1 summary"><p>Receive notification of a processing instruction.
<p>By default, do nothing. Application writers may override this
method in a subclass to take specific actions for each
processing instruction, such as setting status variables or
invoking other methods.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void ProcessingInstruction(string target, string data)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">target</span></td>
<td><p>The processing instruction target.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">data</span></td>
<td><p>The processing instruction data, or null if
none is supplied.</p>
</td>
</tr>
</tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Condition</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Sax.SAXException.html">SAXException</a></td>
<td><p>Any SAX exception, possibly
wrapping another exception.</p>
</td>
</tr>
</tbody>
</table>
<h5 id="Sax_Helpers_DefaultHandler_ProcessingInstruction_System_String_System_String__seealso">See Also</h5>
<div class="seealso">
<div><a class="xref" href="Sax.IContentHandler.html#Sax_IContentHandler_ProcessingInstruction_System_String_System_String_">ProcessingInstruction</a>(<span class="xref">System.String</span>, <span class="xref">System.String</span>)</div>
</div>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Sax_Helpers_DefaultHandler_ResolveEntity_System_String_System_String_.md&amp;value=---%0Auid%3A%20Sax.Helpers.DefaultHandler.ResolveEntity(System.String%2CSystem.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.Benchmark/Support/Sax/Helpers/DefaultHandler.cs/#L68">View Source</a>
</span>
<a id="Sax_Helpers_DefaultHandler_ResolveEntity_" data-uid="Sax.Helpers.DefaultHandler.ResolveEntity*"></a>
<h4 id="Sax_Helpers_DefaultHandler_ResolveEntity_System_String_System_String_" data-uid="Sax.Helpers.DefaultHandler.ResolveEntity(System.String,System.String)">ResolveEntity(String, String)</h4>
<div class="markdown level1 summary"><p>Resolve an external entity.
<p>
Always return null, so that the parser will use the system
identifier provided in the XML document. This method implements
the SAX default behaviour: application writers can override it
in a subclass to do special translations such as catalog lookups
or URI redirection.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual InputSource ResolveEntity(string publicId, string systemId)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">publicId</span></td>
<td><p>The public identifer, or null if none is available.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">systemId</span></td>
<td><p>The system identifier provided in the XML document.</p>
</td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Sax.InputSource.html">InputSource</a></td>
<td></td>
</tr>
</tbody>
</table>
<h5 id="Sax_Helpers_DefaultHandler_ResolveEntity_System_String_System_String__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The new input source, or null to require the default behaviour.</p>
</div>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Condition</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.IO.IOException</span></td>
<td><p>If there is an error setting
up the new input source.</p>
</td>
</tr>
<tr>
<td><a class="xref" href="Sax.SAXException.html">SAXException</a></td>
<td><p>Any SAX exception, possibly
wrapping another exception.</p>
</td>
</tr>
</tbody>
</table>
<h5 id="Sax_Helpers_DefaultHandler_ResolveEntity_System_String_System_String__seealso">See Also</h5>
<div class="seealso">
<div><a class="xref" href="Sax.IEntityResolver.html#Sax_IEntityResolver_ResolveEntity_System_String_System_String_">ResolveEntity</a>(<span class="xref">System.String</span>, <span class="xref">System.String</span>)</div>
</div>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Sax_Helpers_DefaultHandler_SetDocumentLocator_Sax_ILocator_.md&amp;value=---%0Auid%3A%20Sax.Helpers.DefaultHandler.SetDocumentLocator(Sax.ILocator)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.Benchmark/Support/Sax/Helpers/DefaultHandler.cs/#L130">View Source</a>
</span>
<a id="Sax_Helpers_DefaultHandler_SetDocumentLocator_" data-uid="Sax.Helpers.DefaultHandler.SetDocumentLocator*"></a>
<h4 id="Sax_Helpers_DefaultHandler_SetDocumentLocator_Sax_ILocator_" data-uid="Sax.Helpers.DefaultHandler.SetDocumentLocator(Sax.ILocator)">SetDocumentLocator(ILocator)</h4>
<div class="markdown level1 summary"><p>Receive a Locator object for document events.
<p>By default, do nothing. Application writers may override this
method in a subclass if they wish to store the locator for use
with other document events.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void SetDocumentLocator(ILocator locator)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Sax.ILocator.html">ILocator</a></td>
<td><span class="parametername">locator</span></td>
<td><p>A locator for all SAX document events.</p>
</td>
</tr>
</tbody>
</table>
<h5 id="Sax_Helpers_DefaultHandler_SetDocumentLocator_Sax_ILocator__seealso">See Also</h5>
<div class="seealso">
<div><a class="xref" href="Sax.IContentHandler.html#Sax_IContentHandler_SetDocumentLocator_Sax_ILocator_">SetDocumentLocator</a>(<a class="xref" href="Sax.ILocator.html">ILocator</a>)</div>
<div><a class="xref" href="Sax.ILocator.html">ILocator</a></div>
</div>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Sax_Helpers_DefaultHandler_SkippedEntity_System_String_.md&amp;value=---%0Auid%3A%20Sax.Helpers.DefaultHandler.SkippedEntity(System.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.Benchmark/Support/Sax/Helpers/DefaultHandler.cs/#L321">View Source</a>
</span>
<a id="Sax_Helpers_DefaultHandler_SkippedEntity_" data-uid="Sax.Helpers.DefaultHandler.SkippedEntity*"></a>
<h4 id="Sax_Helpers_DefaultHandler_SkippedEntity_System_String_" data-uid="Sax.Helpers.DefaultHandler.SkippedEntity(System.String)">SkippedEntity(String)</h4>
<div class="markdown level1 summary"><p>Receive notification of a skipped entity.
<p>By default, do nothing. Application writers may override this
method in a subclass to take specific actions for each
processing instruction, such as setting status variables or
invoking other methods.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void SkippedEntity(string name)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">name</span></td>
<td><p>The name of the skipped entity.</p>
</td>
</tr>
</tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Condition</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Sax.SAXException.html">SAXException</a></td>
<td><p>Any SAX exception, possibly
wrapping another exception.</p>
</td>
</tr>
</tbody>
</table>
<h5 id="Sax_Helpers_DefaultHandler_SkippedEntity_System_String__seealso">See Also</h5>
<div class="seealso">
<div><a class="xref" href="Sax.IContentHandler.html#Sax_IContentHandler_ProcessingInstruction_System_String_System_String_">ProcessingInstruction</a>(<span class="xref">System.String</span>, <span class="xref">System.String</span>)</div>
</div>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Sax_Helpers_DefaultHandler_StartDocument.md&amp;value=---%0Auid%3A%20Sax.Helpers.DefaultHandler.StartDocument%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.Benchmark/Support/Sax/Helpers/DefaultHandler.cs/#L145">View Source</a>
</span>
<a id="Sax_Helpers_DefaultHandler_StartDocument_" data-uid="Sax.Helpers.DefaultHandler.StartDocument*"></a>
<h4 id="Sax_Helpers_DefaultHandler_StartDocument" data-uid="Sax.Helpers.DefaultHandler.StartDocument">StartDocument()</h4>
<div class="markdown level1 summary"><p>Receive notification of the beginning of the document.
<p>By default, do nothing. Application writers may override this
method in a subclass to take specific actions at the beginning
of a document (such as allocating the root node of a tree or
creating an output file).</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void StartDocument()</code></pre>
</div>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Condition</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Sax.SAXException.html">SAXException</a></td>
<td><p>Any SAX exception, possibly
wrapping another exception.</p>
</td>
</tr>
</tbody>
</table>
<h5 id="Sax_Helpers_DefaultHandler_StartDocument_seealso">See Also</h5>
<div class="seealso">
<div><a class="xref" href="Sax.IContentHandler.html#Sax_IContentHandler_StartDocument">StartDocument</a>()</div>
</div>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Sax_Helpers_DefaultHandler_StartElement_System_String_System_String_System_String_Sax_IAttributes_.md&amp;value=---%0Auid%3A%20Sax.Helpers.DefaultHandler.StartElement(System.String%2CSystem.String%2CSystem.String%2CSax.IAttributes)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.Benchmark/Support/Sax/Helpers/DefaultHandler.cs/#L221">View Source</a>
</span>
<a id="Sax_Helpers_DefaultHandler_StartElement_" data-uid="Sax.Helpers.DefaultHandler.StartElement*"></a>
<h4 id="Sax_Helpers_DefaultHandler_StartElement_System_String_System_String_System_String_Sax_IAttributes_" data-uid="Sax.Helpers.DefaultHandler.StartElement(System.String,System.String,System.String,Sax.IAttributes)">StartElement(String, String, String, IAttributes)</h4>
<div class="markdown level1 summary"><p>Receive notification of the start of an element.
<p>By default, do nothing. Application writers may override this
method in a subclass to take specific actions at the start of
each element (such as allocating a new tree node or writing
output to a file).</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void StartElement(string uri, string localName, string qName, IAttributes attributes)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">uri</span></td>
<td><p>The Namespace URI, or the empty string if the
element has no Namespace URI or if Namespace
processing is not being performed.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">localName</span></td>
<td><p>The local name (without prefix), or the
empty string if Namespace processing is not being
performed.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">qName</span></td>
<td><p>The qualified name (with prefix), or the
empty string if qualified names are not available.</p>
</td>
</tr>
<tr>
<td><a class="xref" href="Sax.IAttributes.html">IAttributes</a></td>
<td><span class="parametername">attributes</span></td>
<td><p>The attributes attached to the element. If
there are no attributes, it shall be an empty
<a class="xref" href="Sax.Helpers.Attributes.html">Attributes</a> object.</p>
</td>
</tr>
</tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Condition</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Sax.SAXException.html">SAXException</a></td>
<td><p>Any SAX exception, possibly
wrapping another exception.</p>
</td>
</tr>
</tbody>
</table>
<h5 id="Sax_Helpers_DefaultHandler_StartElement_System_String_System_String_System_String_Sax_IAttributes__seealso">See Also</h5>
<div class="seealso">
<div><a class="xref" href="Sax.IContentHandler.html#Sax_IContentHandler_StartElement_System_String_System_String_System_String_Sax_IAttributes_">StartElement</a>(<span class="xref">System.String</span>, <span class="xref">System.String</span>, <span class="xref">System.String</span>, <a class="xref" href="Sax.IAttributes.html">IAttributes</a>)</div>
</div>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Sax_Helpers_DefaultHandler_StartPrefixMapping_System_String_System_String_.md&amp;value=---%0Auid%3A%20Sax.Helpers.DefaultHandler.StartPrefixMapping(System.String%2CSystem.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.Benchmark/Support/Sax/Helpers/DefaultHandler.cs/#L178">View Source</a>
</span>
<a id="Sax_Helpers_DefaultHandler_StartPrefixMapping_" data-uid="Sax.Helpers.DefaultHandler.StartPrefixMapping*"></a>
<h4 id="Sax_Helpers_DefaultHandler_StartPrefixMapping_System_String_System_String_" data-uid="Sax.Helpers.DefaultHandler.StartPrefixMapping(System.String,System.String)">StartPrefixMapping(String, String)</h4>
<div class="markdown level1 summary"><p>Receive notification of the start of a Namespace mapping.
<p>By default, do nothing. Application writers may override this
method in a subclass to take specific actions at the start of
each Namespace prefix scope (such as storing the prefix mapping).</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void StartPrefixMapping(string prefix, string uri)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">prefix</span></td>
<td><p>The Namespace prefix being declared.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">uri</span></td>
<td><p>The Namespace URI mapped to the prefix.</p>
</td>
</tr>
</tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Condition</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Sax.SAXException.html">SAXException</a></td>
<td><p>Any SAX exception, possibly
wrapping another exception.</p>
</td>
</tr>
</tbody>
</table>
<h5 id="Sax_Helpers_DefaultHandler_StartPrefixMapping_System_String_System_String__seealso">See Also</h5>
<div class="seealso">
<div><a class="xref" href="Sax.IContentHandler.html#Sax_IContentHandler_StartPrefixMapping_System_String_System_String_">StartPrefixMapping</a>(<span class="xref">System.String</span>, <span class="xref">System.String</span>)</div>
</div>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Sax_Helpers_DefaultHandler_UnparsedEntityDecl_System_String_System_String_System_String_System_String_.md&amp;value=---%0Auid%3A%20Sax.Helpers.DefaultHandler.UnparsedEntityDecl(System.String%2CSystem.String%2CSystem.String%2CSystem.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.Benchmark/Support/Sax/Helpers/DefaultHandler.cs/#L110">View Source</a>
</span>
<a id="Sax_Helpers_DefaultHandler_UnparsedEntityDecl_" data-uid="Sax.Helpers.DefaultHandler.UnparsedEntityDecl*"></a>
<h4 id="Sax_Helpers_DefaultHandler_UnparsedEntityDecl_System_String_System_String_System_String_System_String_" data-uid="Sax.Helpers.DefaultHandler.UnparsedEntityDecl(System.String,System.String,System.String,System.String)">UnparsedEntityDecl(String, String, String, String)</h4>
<div class="markdown level1 summary"><p>Receive notification of an unparsed entity declaration.
<p>By default, do nothing. Application writers may override this
method in a subclass to keep track of the unparsed entities
declared in a document.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void UnparsedEntityDecl(string name, string publicId, string systemId, string notationName)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">name</span></td>
<td><p>The entity name.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">publicId</span></td>
<td><p>The entity public identifier, or null if not available.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">systemId</span></td>
<td><p>The entity system identifier.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">notationName</span></td>
<td><p>The name of the associated notation.</p>
</td>
</tr>
</tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Condition</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Sax.SAXException.html">SAXException</a></td>
<td><p>Any SAX exception, possibly
wrapping another exception.</p>
</td>
</tr>
</tbody>
</table>
<h5 id="Sax_Helpers_DefaultHandler_UnparsedEntityDecl_System_String_System_String_System_String_System_String__seealso">See Also</h5>
<div class="seealso">
<div><a class="xref" href="Sax.IDTDHandler.html#Sax_IDTDHandler_UnparsedEntityDecl_System_String_System_String_System_String_System_String_">UnparsedEntityDecl</a>(<span class="xref">System.String</span>, <span class="xref">System.String</span>, <span class="xref">System.String</span>, <span class="xref">System.String</span>)</div>
</div>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Sax_Helpers_DefaultHandler_Warning_Sax_SAXParseException_.md&amp;value=---%0Auid%3A%20Sax.Helpers.DefaultHandler.Warning(Sax.SAXParseException)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.Benchmark/Support/Sax/Helpers/DefaultHandler.cs/#L346">View Source</a>
</span>
<a id="Sax_Helpers_DefaultHandler_Warning_" data-uid="Sax.Helpers.DefaultHandler.Warning*"></a>
<h4 id="Sax_Helpers_DefaultHandler_Warning_Sax_SAXParseException_" data-uid="Sax.Helpers.DefaultHandler.Warning(Sax.SAXParseException)">Warning(SAXParseException)</h4>
<div class="markdown level1 summary"><p>Receive notification of a parser warning.
<p>
The default implementation does nothing. Application writers
may override this method in a subclass to take specific actions
for each warning, such as inserting the message in a log file or
printing it to the console.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void Warning(SAXParseException e)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Sax.SAXParseException.html">SAXParseException</a></td>
<td><span class="parametername">e</span></td>
<td><p>The warning information encoded as an exception.</p>
</td>
</tr>
</tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Condition</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Sax.SAXException.html">SAXException</a></td>
<td><p>Any SAX exception, possibly
wrapping another exception.</p>
</td>
</tr>
</tbody>
</table>
<h5 id="Sax_Helpers_DefaultHandler_Warning_Sax_SAXParseException__seealso">See Also</h5>
<div class="seealso">
<div><a class="xref" href="Sax.IErrorHandler.html#Sax_IErrorHandler_Warning_Sax_SAXParseException_">Warning</a>(<a class="xref" href="Sax.SAXParseException.html">SAXParseException</a>)</div>
<div><a class="xref" href="Sax.SAXParseException.html">SAXParseException</a></div>
</div>
<h3 id="implements">Implements</h3>
<div>
<a class="xref" href="Sax.IEntityResolver.html">IEntityResolver</a>
</div>
<div>
<a class="xref" href="Sax.IDTDHandler.html">IDTDHandler</a>
</div>
<div>
<a class="xref" href="Sax.IContentHandler.html">IContentHandler</a>
</div>
<div>
<a class="xref" href="Sax.IErrorHandler.html">IErrorHandler</a>
</div>
<h3 id="seealso">See Also</h3>
<div class="seealso">
<div><a class="xref" href="Sax.IEntityResolver.html">IEntityResolver</a></div>
<div><a class="xref" href="Sax.IDTDHandler.html">IDTDHandler</a></div>
<div><a class="xref" href="Sax.IContentHandler.html">IContentHandler</a></div>
<div><a class="xref" href="Sax.IErrorHandler.html">IErrorHandler</a></div>
</div>
</article>
</div>
<div class="hidden-sm col-md-2" role="complementary">
<div class="sideaffix">
<div class="contribution">
<ul class="nav">
<li>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Sax_Helpers_DefaultHandler.md&amp;value=---%0Auid%3A%20Sax.Helpers.DefaultHandler%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
</li>
<li>
<a href="https://github.com/apache/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.Benchmark/Support/Sax/Helpers/DefaultHandler.cs/#L45" class="contribution-link">View Source</a>
</li>
</ul>
</div>
<nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
<!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
</nav>
</div>
</div>
</div>
</div>
<footer>
<div class="grad-bottom"></div>
<div class="footer">
<div class="container">
<span class="pull-right">
<a href="#top">Back to top</a>
</span>
Copyright © 2020 Licensed to the Apache Software Foundation (ASF)
</div>
</div>
</footer>
</div>
<script type="text/javascript" src="https://lucenenet.apache.org/docs/4.8.0-beta00009/styles/docfx.vendor.js"></script>
<script type="text/javascript" src="https://lucenenet.apache.org/docs/4.8.0-beta00009/styles/docfx.js"></script>
<script type="text/javascript" src="https://lucenenet.apache.org/docs/4.8.0-beta00009/styles/main.js"></script>
</body>
</html>