Class DefaultHandler2
Inheritance
System.Object
DefaultHandler2
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Lucene.Net.Benchmark.dll
Syntax
public class DefaultHandler2 : DefaultHandler, IDTDHandler, IContentHandler, IErrorHandler, ILexicalHandler, IDeclHandler, IEntityResolver2, IEntityResolver
Remarks
Constructors
|
Improve this Doc
View Source
DefaultHandler2()
Constructs a handler which ignores all parsing events.
Declaration
Methods
|
Improve this Doc
View Source
AttributeDecl(String, String, String, String, String)
Declaration
public virtual void AttributeDecl(string eName, string aName, string type, string mode, string value)
Parameters
| Type |
Name |
Description |
| System.String |
eName |
|
| System.String |
aName |
|
| System.String |
type |
|
| System.String |
mode |
|
| System.String |
value |
|
|
Improve this Doc
View Source
Declaration
public virtual void Comment(char[] ch, int start, int length)
Parameters
| Type |
Name |
Description |
| System.Char[] |
ch |
|
| System.Int32 |
start |
|
| System.Int32 |
length |
|
|
Improve this Doc
View Source
ElementDecl(String, String)
Declaration
public virtual void ElementDecl(string name, string model)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
| System.String |
model |
|
|
Improve this Doc
View Source
EndCDATA()
Declaration
public virtual void EndCDATA()
|
Improve this Doc
View Source
EndDTD()
Declaration
public virtual void EndDTD()
|
Improve this Doc
View Source
EndEntity(String)
Declaration
public virtual void EndEntity(string name)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
|
Improve this Doc
View Source
ExternalEntityDecl(String, String, String)
Declaration
public virtual void ExternalEntityDecl(string name, string publicId, string systemId)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
| System.String |
publicId |
|
| System.String |
systemId |
|
|
Improve this Doc
View Source
GetExternalSubset(String, String)
Tells the parser that if no external subset has been declared
in the document text, none should be used.
Declaration
public virtual InputSource GetExternalSubset(string name, string baseURI)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
| System.String |
baseURI |
|
Returns
|
Improve this Doc
View Source
InternalEntityDecl(String, String)
Declaration
public virtual void InternalEntityDecl(string name, string value)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
| System.String |
value |
|
|
Improve this Doc
View Source
ResolveEntity(String, String)
Declaration
public override InputSource ResolveEntity(string publicId, string systemId)
Parameters
| Type |
Name |
Description |
| System.String |
publicId |
|
| System.String |
systemId |
|
Returns
Overrides
|
Improve this Doc
View Source
ResolveEntity(String, String, String, String)
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 ResolveEntity(String, String),
method is overridden to call this one, this method may sometimes
be invoked with null name and baseURI, and
with the systemId already absolutized.
Declaration
public virtual InputSource ResolveEntity(string name, string publicId, string baseURI, string systemId)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
| System.String |
publicId |
|
| System.String |
baseURI |
|
| System.String |
systemId |
|
Returns
|
Improve this Doc
View Source
StartCDATA()
Declaration
public virtual void StartCDATA()
|
Improve this Doc
View Source
StartDTD(String, String, String)
Declaration
public virtual void StartDTD(string name, string publicId, string systemId)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
| System.String |
publicId |
|
| System.String |
systemId |
|
|
Improve this Doc
View Source
StartEntity(String)
Declaration
public virtual void StartEntity(string name)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
Implements