The
The parser reads an XML document and reports basic document-related events; for example, the start and end of elements and character data.
The order of events is very important, and mirrors the order of information in the document itself. For example, all contents of a
The methods defined in the
Method | Description |
---|---|
|
Receives notification of character data |
|
Returns the column number at which the current document event ends |
|
Receives notification of a comment |
|
Receives notification of the end of a CDATA section |
|
Receives notification of the end of DTD declarations |
|
Receives notification of the end of an element |
|
Returns the file name for the current document event |
|
Retrieves the attribute with the specified index |
|
Retrieves the value of the attribute with the specified qualified name |
|
Retrieves the value of the attribute with the specified namespace URI and local name |
|
Returns the line number at which the current document event ends |
|
Parses the specified XML document file |
|
Parses the specified XML document string |
|
Receives notification of a processing instruction |
|
Receives notification of the start of a CDATA section |
|
Receives notification of the start of DTD declarations |
|
Receives notification of the beginning of an element |
For details, see "