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
Adup(char[], int, int)
Reports an attribute name without a value.
Declaration
void Adup(char[] buffer, int startIndex, int length)
Parameters
Type | Name | Description |
---|---|---|
char[] | buffer | |
int | startIndex | |
int | length |
Aname(char[], int, int)
Reports an attribute name; a value will follow.
Declaration
void Aname(char[] buffer, int startIndex, int length)
Parameters
Type | Name | Description |
---|---|---|
char[] | buffer | |
int | startIndex | |
int | length |
Aval(char[], int, int)
Reports an attribute value.
Declaration
void Aval(char[] buffer, int startIndex, int length)
Parameters
Type | Name | Description |
---|---|---|
char[] | buffer | |
int | startIndex | |
int | length |
CDSect(char[], int, int)
Reports the content of a CDATA section (not a CDATA element)
Declaration
void CDSect(char[] buffer, int startIndex, int length)
Parameters
Type | Name | Description |
---|---|---|
char[] | buffer | |
int | startIndex | |
int | length |
Cmnt(char[], int, int)
Reports a comment.
Declaration
void Cmnt(char[] buffer, int startIndex, int length)
Parameters
Type | Name | Description |
---|---|---|
char[] | buffer | |
int | startIndex | |
int | length |
Decl(char[], int, int)
Reports a <!....> declaration - typically a DOCTYPE
Declaration
void Decl(char[] buffer, int startIndex, int length)
Parameters
Type | Name | Description |
---|---|---|
char[] | buffer | |
int | startIndex | |
int | length |
EOF(char[], int, int)
Reports EOF.
Declaration
void EOF(char[] buffer, int startIndex, int length)
Parameters
Type | Name | Description |
---|---|---|
char[] | buffer | |
int | startIndex | |
int | length |
ETag(char[], int, int)
Reports an end-tag.
Declaration
void ETag(char[] buffer, int startIndex, int length)
Parameters
Type | Name | Description |
---|---|---|
char[] | buffer | |
int | startIndex | |
int | length |
Entity(char[], int, int)
Reports an entity reference or character reference.
Declaration
void Entity(char[] buffer, int startIndex, int length)
Parameters
Type | Name | Description |
---|---|---|
char[] | buffer | |
int | startIndex | |
int | length |
GI(char[], int, int)
Reports the general identifier (element type name) of a start-tag.
Declaration
void GI(char[] buffer, int startIndex, int length)
Parameters
Type | Name | Description |
---|---|---|
char[] | buffer | |
int | startIndex | |
int | length |
GetEntity()
Returns the value of the last entity or character reference reported.
Declaration
int GetEntity()
Returns
Type | Description |
---|---|
int | The value of the last entity or character reference reported. |
PCDATA(char[], int, int)
Reports character content.
Declaration
void PCDATA(char[] buffer, int startIndex, int length)
Parameters
Type | Name | Description |
---|---|---|
char[] | buffer | |
int | startIndex | |
int | length |
PI(char[], int, int)
Reports the data part of a processing instruction.
Declaration
void PI(char[] buffer, int startIndex, int length)
Parameters
Type | Name | Description |
---|---|---|
char[] | buffer | |
int | startIndex | |
int | length |
PITarget(char[], int, int)
Reports the target part of a processing instruction.
Declaration
void PITarget(char[] buffer, int startIndex, int length)
Parameters
Type | Name | Description |
---|---|---|
char[] | buffer | |
int | startIndex | |
int | length |
STagC(char[], int, int)
Reports the close of a start-tag.
Declaration
void STagC(char[] buffer, int startIndex, int length)
Parameters
Type | Name | Description |
---|---|---|
char[] | buffer | |
int | startIndex | |
int | length |
STagE(char[], int, int)
Reports the close of an empty-tag.
Declaration
void STagE(char[] buffer, int startIndex, int length)
Parameters
Type | Name | Description |
---|---|---|
char[] | buffer | |
int | startIndex | |
int | length |