blob: 28279bcdd3150c0681c36cc581f070b27b335b2f [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 DefaultHandler2
| Apache Lucene.NET 4.8.0-beta00010 Documentation </title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="Class DefaultHandler2
| 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.Ext.DefaultHandler2">
<h1 id="Sax_Ext_DefaultHandler2" data-uid="Sax.Ext.DefaultHandler2" class="text-break">Class DefaultHandler2
</h1>
<div class="markdown level0 summary"><p>This class extends the SAX2 base handler class to support the
SAX2 <a class="xref" href="Sax.Ext.ILexicalHandler.html">ILexicalHandler</a>, <a class="xref" href="Sax.Ext.IDeclHandler.html">IDeclHandler</a>, and
<a class="xref" href="Sax.Ext.IEntityResolver2.html">IEntityResolver2</a> extensions. Except for overriding the
original SAX1 <a class="xref" href="Sax.Helpers.DefaultHandler.html#Sax_Helpers_DefaultHandler_ResolveEntity_System_String_System_String_">ResolveEntity(String, String)</a>
method the added handler methods just return. Subclassers may
override everything on a method-by-method basis.</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"><a class="xref" href="Sax.Helpers.DefaultHandler.html">DefaultHandler</a></div>
<div class="level2"><span class="xref">DefaultHandler2</span></div>
</div>
<div classs="implements">
<h5>Implements</h5>
<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><a class="xref" href="Sax.Ext.ILexicalHandler.html">ILexicalHandler</a></div>
<div><a class="xref" href="Sax.Ext.IDeclHandler.html">IDeclHandler</a></div>
<div><a class="xref" href="Sax.Ext.IEntityResolver2.html">IEntityResolver2</a></div>
<div><a class="xref" href="Sax.IEntityResolver.html">IEntityResolver</a></div>
</div>
<div class="inheritedMembers">
<h5>Inherited Members</h5>
<div>
<a class="xref" href="Sax.Helpers.DefaultHandler.html#Sax_Helpers_DefaultHandler_NotationDecl_System_String_System_String_System_String_">DefaultHandler.NotationDecl(String, String, String)</a>
</div>
<div>
<a class="xref" href="Sax.Helpers.DefaultHandler.html#Sax_Helpers_DefaultHandler_UnparsedEntityDecl_System_String_System_String_System_String_System_String_">DefaultHandler.UnparsedEntityDecl(String, String, String, String)</a>
</div>
<div>
<a class="xref" href="Sax.Helpers.DefaultHandler.html#Sax_Helpers_DefaultHandler_SetDocumentLocator_Sax_ILocator_">DefaultHandler.SetDocumentLocator(ILocator)</a>
</div>
<div>
<a class="xref" href="Sax.Helpers.DefaultHandler.html#Sax_Helpers_DefaultHandler_StartDocument">DefaultHandler.StartDocument()</a>
</div>
<div>
<a class="xref" href="Sax.Helpers.DefaultHandler.html#Sax_Helpers_DefaultHandler_EndDocument">DefaultHandler.EndDocument()</a>
</div>
<div>
<a class="xref" href="Sax.Helpers.DefaultHandler.html#Sax_Helpers_DefaultHandler_StartPrefixMapping_System_String_System_String_">DefaultHandler.StartPrefixMapping(String, String)</a>
</div>
<div>
<a class="xref" href="Sax.Helpers.DefaultHandler.html#Sax_Helpers_DefaultHandler_EndPrefixMapping_System_String_">DefaultHandler.EndPrefixMapping(String)</a>
</div>
<div>
<a class="xref" href="Sax.Helpers.DefaultHandler.html#Sax_Helpers_DefaultHandler_StartElement_System_String_System_String_System_String_Sax_IAttributes_">DefaultHandler.StartElement(String, String, String, IAttributes)</a>
</div>
<div>
<a class="xref" href="Sax.Helpers.DefaultHandler.html#Sax_Helpers_DefaultHandler_EndElement_System_String_System_String_System_String_">DefaultHandler.EndElement(String, String, String)</a>
</div>
<div>
<a class="xref" href="Sax.Helpers.DefaultHandler.html#Sax_Helpers_DefaultHandler_Characters_System_Char___System_Int32_System_Int32_">DefaultHandler.Characters(Char[], Int32, Int32)</a>
</div>
<div>
<a class="xref" href="Sax.Helpers.DefaultHandler.html#Sax_Helpers_DefaultHandler_IgnorableWhitespace_System_Char___System_Int32_System_Int32_">DefaultHandler.IgnorableWhitespace(Char[], Int32, Int32)</a>
</div>
<div>
<a class="xref" href="Sax.Helpers.DefaultHandler.html#Sax_Helpers_DefaultHandler_ProcessingInstruction_System_String_System_String_">DefaultHandler.ProcessingInstruction(String, String)</a>
</div>
<div>
<a class="xref" href="Sax.Helpers.DefaultHandler.html#Sax_Helpers_DefaultHandler_SkippedEntity_System_String_">DefaultHandler.SkippedEntity(String)</a>
</div>
<div>
<a class="xref" href="Sax.Helpers.DefaultHandler.html#Sax_Helpers_DefaultHandler_Warning_Sax_SAXParseException_">DefaultHandler.Warning(SAXParseException)</a>
</div>
<div>
<a class="xref" href="Sax.Helpers.DefaultHandler.html#Sax_Helpers_DefaultHandler_Error_Sax_SAXParseException_">DefaultHandler.Error(SAXParseException)</a>
</div>
<div>
<a class="xref" href="Sax.Helpers.DefaultHandler.html#Sax_Helpers_DefaultHandler_FatalError_Sax_SAXParseException_">DefaultHandler.FatalError(SAXParseException)</a>
</div>
<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.Ext.html">Sax.Ext</a></h6>
<h6><strong>Assembly</strong>: Lucene.Net.Benchmark.dll</h6>
<h5 id="Sax_Ext_DefaultHandler2_syntax">Syntax</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public class DefaultHandler2 : DefaultHandler, IDTDHandler, IContentHandler, IErrorHandler, ILexicalHandler, IDeclHandler, IEntityResolver2, IEntityResolver</code></pre>
</div>
<h5 id="Sax_Ext_DefaultHandler2_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>
<p>
<em>Note:</em> this class might yet learn that the
<a class="xref" href="Sax.IContentHandler.html#Sax_IContentHandler_SetDocumentLocator_Sax_ILocator_">SetDocumentLocator(ILocator)</a> call might be passed a
<a class="xref" href="Sax.Ext.Locator2.html">Locator2</a> object, and that the
<em>ContentHandler.startElement()</em> call might be passed a
<a class="xref" href="Sax.Ext.Attributes2.html">Attributes2</a> object.</p>
</div>
<h3 id="constructors">Constructors
</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_Ext_DefaultHandler2__ctor.md&amp;value=---%0Auid%3A%20Sax.Ext.DefaultHandler2.%23ctor%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/Ext/DefaultHandler2.cs/#L34">View Source</a>
</span>
<a id="Sax_Ext_DefaultHandler2__ctor_" data-uid="Sax.Ext.DefaultHandler2.#ctor*"></a>
<h4 id="Sax_Ext_DefaultHandler2__ctor" data-uid="Sax.Ext.DefaultHandler2.#ctor">DefaultHandler2()</h4>
<div class="markdown level1 summary"><p>Constructs a handler which ignores all 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 DefaultHandler2()</code></pre>
</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_Ext_DefaultHandler2_AttributeDecl_System_String_System_String_System_String_System_String_System_String_.md&amp;value=---%0Auid%3A%20Sax.Ext.DefaultHandler2.AttributeDecl(System.String%2CSystem.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/Ext/DefaultHandler2.cs/#L63">View Source</a>
</span>
<a id="Sax_Ext_DefaultHandler2_AttributeDecl_" data-uid="Sax.Ext.DefaultHandler2.AttributeDecl*"></a>
<h4 id="Sax_Ext_DefaultHandler2_AttributeDecl_System_String_System_String_System_String_System_String_System_String_" data-uid="Sax.Ext.DefaultHandler2.AttributeDecl(System.String,System.String,System.String,System.String,System.String)">AttributeDecl(String, String, String, String, String)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void AttributeDecl(string eName, string aName, string type, string mode, string value)</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">eName</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">aName</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">type</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">mode</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">value</span></td>
<td></td>
</tr>
</tbody>
</table>
<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_Ext_DefaultHandler2_Comment_System_Char___System_Int32_System_Int32_.md&amp;value=---%0Auid%3A%20Sax.Ext.DefaultHandler2.Comment(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/Ext/DefaultHandler2.cs/#L57">View Source</a>
</span>
<a id="Sax_Ext_DefaultHandler2_Comment_" data-uid="Sax.Ext.DefaultHandler2.Comment*"></a>
<h4 id="Sax_Ext_DefaultHandler2_Comment_System_Char___System_Int32_System_Int32_" data-uid="Sax.Ext.DefaultHandler2.Comment(System.Char[],System.Int32,System.Int32)">Comment(Char[], Int32, Int32)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void Comment(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></td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">start</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">length</span></td>
<td></td>
</tr>
</tbody>
</table>
<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_Ext_DefaultHandler2_ElementDecl_System_String_System_String_.md&amp;value=---%0Auid%3A%20Sax.Ext.DefaultHandler2.ElementDecl(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/Ext/DefaultHandler2.cs/#L67">View Source</a>
</span>
<a id="Sax_Ext_DefaultHandler2_ElementDecl_" data-uid="Sax.Ext.DefaultHandler2.ElementDecl*"></a>
<h4 id="Sax_Ext_DefaultHandler2_ElementDecl_System_String_System_String_" data-uid="Sax.Ext.DefaultHandler2.ElementDecl(System.String,System.String)">ElementDecl(String, String)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void ElementDecl(string name, string model)</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></td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">model</span></td>
<td></td>
</tr>
</tbody>
</table>
<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_Ext_DefaultHandler2_EndCDATA.md&amp;value=---%0Auid%3A%20Sax.Ext.DefaultHandler2.EndCDATA%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/Ext/DefaultHandler2.cs/#L42">View Source</a>
</span>
<a id="Sax_Ext_DefaultHandler2_EndCDATA_" data-uid="Sax.Ext.DefaultHandler2.EndCDATA*"></a>
<h4 id="Sax_Ext_DefaultHandler2_EndCDATA" data-uid="Sax.Ext.DefaultHandler2.EndCDATA">EndCDATA()</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void EndCDATA()</code></pre>
</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_Ext_DefaultHandler2_EndDTD.md&amp;value=---%0Auid%3A%20Sax.Ext.DefaultHandler2.EndDTD%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/Ext/DefaultHandler2.cs/#L48">View Source</a>
</span>
<a id="Sax_Ext_DefaultHandler2_EndDTD_" data-uid="Sax.Ext.DefaultHandler2.EndDTD*"></a>
<h4 id="Sax_Ext_DefaultHandler2_EndDTD" data-uid="Sax.Ext.DefaultHandler2.EndDTD">EndDTD()</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void EndDTD()</code></pre>
</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_Ext_DefaultHandler2_EndEntity_System_String_.md&amp;value=---%0Auid%3A%20Sax.Ext.DefaultHandler2.EndEntity(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/Ext/DefaultHandler2.cs/#L54">View Source</a>
</span>
<a id="Sax_Ext_DefaultHandler2_EndEntity_" data-uid="Sax.Ext.DefaultHandler2.EndEntity*"></a>
<h4 id="Sax_Ext_DefaultHandler2_EndEntity_System_String_" data-uid="Sax.Ext.DefaultHandler2.EndEntity(System.String)">EndEntity(String)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void EndEntity(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></td>
</tr>
</tbody>
</table>
<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_Ext_DefaultHandler2_ExternalEntityDecl_System_String_System_String_System_String_.md&amp;value=---%0Auid%3A%20Sax.Ext.DefaultHandler2.ExternalEntityDecl(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/Ext/DefaultHandler2.cs/#L70">View Source</a>
</span>
<a id="Sax_Ext_DefaultHandler2_ExternalEntityDecl_" data-uid="Sax.Ext.DefaultHandler2.ExternalEntityDecl*"></a>
<h4 id="Sax_Ext_DefaultHandler2_ExternalEntityDecl_System_String_System_String_System_String_" data-uid="Sax.Ext.DefaultHandler2.ExternalEntityDecl(System.String,System.String,System.String)">ExternalEntityDecl(String, String, String)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void ExternalEntityDecl(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></td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">publicId</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">systemId</span></td>
<td></td>
</tr>
</tbody>
</table>
<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_Ext_DefaultHandler2_GetExternalSubset_System_String_System_String_.md&amp;value=---%0Auid%3A%20Sax.Ext.DefaultHandler2.GetExternalSubset(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/Ext/DefaultHandler2.cs/#L83">View Source</a>
</span>
<a id="Sax_Ext_DefaultHandler2_GetExternalSubset_" data-uid="Sax.Ext.DefaultHandler2.GetExternalSubset*"></a>
<h4 id="Sax_Ext_DefaultHandler2_GetExternalSubset_System_String_System_String_" data-uid="Sax.Ext.DefaultHandler2.GetExternalSubset(System.String,System.String)">GetExternalSubset(String, String)</h4>
<div class="markdown level1 summary"><p>Tells the parser that if no external subset has been declared
in the document text, none should be used.</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 GetExternalSubset(string name, string baseURI)</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></td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">baseURI</span></td>
<td></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>
<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_Ext_DefaultHandler2_InternalEntityDecl_System_String_System_String_.md&amp;value=---%0Auid%3A%20Sax.Ext.DefaultHandler2.InternalEntityDecl(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/Ext/DefaultHandler2.cs/#L74">View Source</a>
</span>
<a id="Sax_Ext_DefaultHandler2_InternalEntityDecl_" data-uid="Sax.Ext.DefaultHandler2.InternalEntityDecl*"></a>
<h4 id="Sax_Ext_DefaultHandler2_InternalEntityDecl_System_String_System_String_" data-uid="Sax.Ext.DefaultHandler2.InternalEntityDecl(System.String,System.String)">InternalEntityDecl(String, String)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void InternalEntityDecl(string name, string value)</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></td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">value</span></td>
<td></td>
</tr>
</tbody>
</table>
<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_Ext_DefaultHandler2_ResolveEntity_System_String_System_String_.md&amp;value=---%0Auid%3A%20Sax.Ext.DefaultHandler2.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/Ext/DefaultHandler2.cs/#L107">View Source</a>
</span>
<a id="Sax_Ext_DefaultHandler2_ResolveEntity_" data-uid="Sax.Ext.DefaultHandler2.ResolveEntity*"></a>
<h4 id="Sax_Ext_DefaultHandler2_ResolveEntity_System_String_System_String_" data-uid="Sax.Ext.DefaultHandler2.ResolveEntity(System.String,System.String)">ResolveEntity(String, String)</h4>
<div class="markdown level1 summary"><p>Invokes <a class="xref" href="Sax.Ext.IEntityResolver2.html#Sax_Ext_IEntityResolver2_ResolveEntity_System_String_System_String_System_String_System_String_">ResolveEntity(String, String, String, String)</a>
with null entity name and base URI.
You only need to override that method to use this class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public override 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></td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">systemId</span></td>
<td></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 class="overrides">Overrides</h5>
<div><a class="xref" href="Sax.Helpers.DefaultHandler.html#Sax_Helpers_DefaultHandler_ResolveEntity_System_String_System_String_">DefaultHandler.ResolveEntity(String, String)</a></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_Ext_DefaultHandler2_ResolveEntity_System_String_System_String_System_String_System_String_.md&amp;value=---%0Auid%3A%20Sax.Ext.DefaultHandler2.ResolveEntity(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/Ext/DefaultHandler2.cs/#L96">View Source</a>
</span>
<a id="Sax_Ext_DefaultHandler2_ResolveEntity_" data-uid="Sax.Ext.DefaultHandler2.ResolveEntity*"></a>
<h4 id="Sax_Ext_DefaultHandler2_ResolveEntity_System_String_System_String_System_String_System_String_" data-uid="Sax.Ext.DefaultHandler2.ResolveEntity(System.String,System.String,System.String,System.String)">ResolveEntity(String, String, String, String)</h4>
<div class="markdown level1 summary"><p>Tells the parser to resolve the systemId against the baseURI
and read the entity text from that resulting absolute URI.
Note that because the older <a class="xref" href="Sax.Helpers.DefaultHandler.html#Sax_Helpers_DefaultHandler_ResolveEntity_System_String_System_String_">ResolveEntity(String, String)</a>,
method is overridden to call this one, this method may sometimes
be invoked with null <code data-dev-comment-type="paramref" class="paramref">name</code> and <code data-dev-comment-type="paramref" class="paramref">baseURI</code>, and
with the <code data-dev-comment-type="paramref" class="paramref">systemId</code> already absolutized.</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 name, string publicId, string baseURI, 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></td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">publicId</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">baseURI</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">systemId</span></td>
<td></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>
<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_Ext_DefaultHandler2_StartCDATA.md&amp;value=---%0Auid%3A%20Sax.Ext.DefaultHandler2.StartCDATA%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/Ext/DefaultHandler2.cs/#L39">View Source</a>
</span>
<a id="Sax_Ext_DefaultHandler2_StartCDATA_" data-uid="Sax.Ext.DefaultHandler2.StartCDATA*"></a>
<h4 id="Sax_Ext_DefaultHandler2_StartCDATA" data-uid="Sax.Ext.DefaultHandler2.StartCDATA">StartCDATA()</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void StartCDATA()</code></pre>
</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_Ext_DefaultHandler2_StartDTD_System_String_System_String_System_String_.md&amp;value=---%0Auid%3A%20Sax.Ext.DefaultHandler2.StartDTD(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/Ext/DefaultHandler2.cs/#L45">View Source</a>
</span>
<a id="Sax_Ext_DefaultHandler2_StartDTD_" data-uid="Sax.Ext.DefaultHandler2.StartDTD*"></a>
<h4 id="Sax_Ext_DefaultHandler2_StartDTD_System_String_System_String_System_String_" data-uid="Sax.Ext.DefaultHandler2.StartDTD(System.String,System.String,System.String)">StartDTD(String, String, String)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void StartDTD(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></td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">publicId</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">systemId</span></td>
<td></td>
</tr>
</tbody>
</table>
<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_Ext_DefaultHandler2_StartEntity_System_String_.md&amp;value=---%0Auid%3A%20Sax.Ext.DefaultHandler2.StartEntity(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/Ext/DefaultHandler2.cs/#L51">View Source</a>
</span>
<a id="Sax_Ext_DefaultHandler2_StartEntity_" data-uid="Sax.Ext.DefaultHandler2.StartEntity*"></a>
<h4 id="Sax_Ext_DefaultHandler2_StartEntity_System_String_" data-uid="Sax.Ext.DefaultHandler2.StartEntity(System.String)">StartEntity(String)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void StartEntity(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></td>
</tr>
</tbody>
</table>
<h3 id="implements">Implements</h3>
<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>
<a class="xref" href="Sax.Ext.ILexicalHandler.html">ILexicalHandler</a>
</div>
<div>
<a class="xref" href="Sax.Ext.IDeclHandler.html">IDeclHandler</a>
</div>
<div>
<a class="xref" href="Sax.Ext.IEntityResolver2.html">IEntityResolver2</a>
</div>
<div>
<a class="xref" href="Sax.IEntityResolver.html">IEntityResolver</a>
</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_Ext_DefaultHandler2.md&amp;value=---%0Auid%3A%20Sax.Ext.DefaultHandler2%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/Ext/DefaultHandler2.cs/#L31" 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>