Interface IScanHandler
An interface that Scanners use to report events in the input stream.
Namespace: TagSoup
Assembly: Lucene.Net.Benchmark.dll
Syntax
public interface IScanHandler
  Methods
| Improve this Doc View SourceAdup(Char[], Int32, Int32)
Reports an attribute name without a value.
Declaration
void Adup(char[] buff, int offset, int length)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Char[] | buff | |
| System.Int32 | offset | |
| System.Int32 | length | 
Aname(Char[], Int32, Int32)
Reports an attribute name; a value will follow.
Declaration
void Aname(char[] buff, int offset, int length)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Char[] | buff | |
| System.Int32 | offset | |
| System.Int32 | length | 
Aval(Char[], Int32, Int32)
Reports an attribute value.
Declaration
void Aval(char[] buff, int offset, int length)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Char[] | buff | |
| System.Int32 | offset | |
| System.Int32 | length | 
CDSect(Char[], Int32, Int32)
Reports the content of a CDATA section (not a CDATA element)
Declaration
void CDSect(char[] buff, int offset, int length)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Char[] | buff | |
| System.Int32 | offset | |
| System.Int32 | length | 
Cmnt(Char[], Int32, Int32)
Reports a comment.
Declaration
void Cmnt(char[] buff, int offset, int length)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Char[] | buff | |
| System.Int32 | offset | |
| System.Int32 | length | 
Decl(Char[], Int32, Int32)
Reports a <!....> declaration - typically a DOCTYPE
Declaration
void Decl(char[] buff, int offset, int length)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Char[] | buff | |
| System.Int32 | offset | |
| System.Int32 | length | 
Entity(Char[], Int32, Int32)
Reports an entity reference or character reference.
Declaration
void Entity(char[] buff, int offset, int length)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Char[] | buff | |
| System.Int32 | offset | |
| System.Int32 | length | 
EOF(Char[], Int32, Int32)
Reports EOF.
Declaration
void EOF(char[] buff, int offset, int length)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Char[] | buff | |
| System.Int32 | offset | |
| System.Int32 | length | 
ETag(Char[], Int32, Int32)
Reports an end-tag.
Declaration
void ETag(char[] buff, int offset, int length)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Char[] | buff | |
| System.Int32 | offset | |
| System.Int32 | length | 
GetEntity()
Returns the value of the last entity or character reference reported.
Declaration
int GetEntity()
  Returns
| Type | Description | 
|---|---|
| System.Int32 | The value of the last entity or character reference reported.  | 
      
GI(Char[], Int32, Int32)
Reports the general identifier (element type name) of a start-tag.
Declaration
void GI(char[] buff, int offset, int length)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Char[] | buff | |
| System.Int32 | offset | |
| System.Int32 | length | 
PCDATA(Char[], Int32, Int32)
Reports character content.
Declaration
void PCDATA(char[] buff, int offset, int length)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Char[] | buff | |
| System.Int32 | offset | |
| System.Int32 | length | 
PI(Char[], Int32, Int32)
Reports the data part of a processing instruction.
Declaration
void PI(char[] buff, int offset, int length)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Char[] | buff | |
| System.Int32 | offset | |
| System.Int32 | length | 
PITarget(Char[], Int32, Int32)
Reports the target part of a processing instruction.
Declaration
void PITarget(char[] buff, int offset, int length)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Char[] | buff | |
| System.Int32 | offset | |
| System.Int32 | length | 
STagC(Char[], Int32, Int32)
Reports the close of a start-tag.
Declaration
void STagC(char[] buff, int offset, int length)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Char[] | buff | |
| System.Int32 | offset | |
| System.Int32 | length | 
STagE(Char[], Int32, Int32)
Reports the close of an empty-tag.
Declaration
void STagE(char[] buff, int offset, int length)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Char[] | buff | |
| System.Int32 | offset | |
| System.Int32 | length |