XmlSaxContentHandler Interface Reference
Public Member Functions | |
void | Characters (char[] ch, int start, int length) |
void | EndDocument () |
void | EndElement (System.String namespaceURI, System.String localName, System.String qName) |
void | EndPrefixMapping (System.String prefix) |
void | IgnorableWhitespace (char[] Ch, int Start, int Length) |
void | ProcessingInstruction (System.String target, System.String data) |
void | SetDocumentLocator (XmlSaxLocator locator) |
void | SkippedEntity (System.String name) |
void | StartDocument () |
void | StartElement (System.String namespaceURI, System.String localName, System.String qName, XmlAttributes atts) |
void | StartPrefixMapping (System.String prefix, System.String uri) |
Detailed Description
This interface will manage the Content events of a XML document.
Member Function Documentation
void Characters | ( | char[] | ch, | |
int | start, | |||
int | length | |||
) |
This method manage the notification when Characters elements were found.
- Parameters:
-
ch The array with the characters found. start The index of the first position of the characters found. length Specify how many characters must be read from the array.
Implemented in XmlSaxDefaultHandler, and XmlSaxParserAdapter.
void EndDocument | ( | ) |
This method manage the notification when the end document node were found.
Implemented in XmlSaxDefaultHandler, and XmlSaxParserAdapter.
void EndElement | ( | System.String | namespaceURI, | |
System.String | localName, | |||
System.String | qName | |||
) |
This method manage the notification when the end element node was found.
- Parameters:
-
namespaceURI The namespace URI of the element. localName The local name of the element. qName The long (qualified) name of the element.
Implemented in SaxHandler, XsdAnySaxHandler, XmlSaxDefaultHandler, and XmlSaxParserAdapter.
void EndPrefixMapping | ( | System.String | prefix | ) |
This method manage the event when an area of expecific URI prefix was ended.
- Parameters:
-
prefix The prefix that ends.
Implemented in XmlSaxDefaultHandler, and XmlSaxParserAdapter.
void IgnorableWhitespace | ( | char[] | Ch, | |
int | Start, | |||
int | Length | |||
) |
This method manage the event when a ignorable whitespace node was found.
- Parameters:
-
Ch The array with the ignorable whitespaces. Start The index in the array with the ignorable whitespace. Length The length of the whitespaces.
Implemented in XmlSaxDefaultHandler, and XmlSaxParserAdapter.
void ProcessingInstruction | ( | System.String | target, | |
System.String | data | |||
) |
This method manage the event when a processing instruction was found.
- Parameters:
-
target The processing instruction target. data The processing instruction data.
Implemented in XmlSaxDefaultHandler, and XmlSaxParserAdapter.
void SetDocumentLocator | ( | XmlSaxLocator | locator | ) |
This method is not supported, it is included for compatibility.
- Parameters:
-
locator A XmlSaxLocator
object that can return the location of any events into the XML document
Implemented in XmlSaxDefaultHandler, and XmlSaxParserAdapter.
void SkippedEntity | ( | System.String | name | ) |
This method manage the event when a skipped entity was found.
- Parameters:
-
name The name of the skipped entity.
Implemented in XmlSaxDefaultHandler, and XmlSaxParserAdapter.
void StartDocument | ( | ) |
This method manage the event when a start document node was found.
Implemented in XmlSaxDefaultHandler, and XmlSaxParserAdapter.
void StartElement | ( | System.String | namespaceURI, | |
System.String | localName, | |||
System.String | qName, | |||
XmlAttributes | atts | |||
) |
This method manage the event when a start element node was found.
- Parameters:
-
namespaceURI The namespace uri of the element tag. localName The local name of the element. qName The long (qualified) name of the element. atts The list of attributes of the element.
Implemented in SaxHandler, XsdAnySaxHandler, XmlSaxDefaultHandler, and XmlSaxParserAdapter.
void StartPrefixMapping | ( | System.String | prefix, | |
System.String | uri | |||
) |
This methods indicates the start of a prefix area in the XML document.
- Parameters:
-
prefix The prefix of the area. uri The namespace URI of the prefix area.
Implemented in XmlSaxDefaultHandler, and XmlSaxParserAdapter.