XmlSaxParserAdapter Class Reference

Inheritance diagram for XmlSaxParserAdapter:
XmlSaxParser XmlSaxContentHandler

List of all members.

Public Member Functions

virtual void Characters (char[] ch, int start, int length)
virtual void EndDocument ()
virtual void EndElement (System.String namespaceURI, System.String localName, System.String qName)
virtual void EndPrefixMapping (System.String prefix)
virtual void IgnorableWhitespace (char[] ch, int start, int length)
virtual void ProcessingInstruction (System.String target, System.String data)
virtual void SetDocumentLocator (XmlSaxLocator locator)
virtual void SkippedEntity (System.String name)
virtual void StartDocument ()
virtual void StartElement (System.String namespaceURI, System.String localName, System.String qName, XmlAttributes qAtts)
virtual void StartPrefixMapping (System.String prefix, System.String uri)

Detailed Description

This class provides the base implementation for the management of XML documents parsing.


Member Function Documentation

virtual void Characters ( char[]  ch,
int  start,
int  length 
) [virtual]

This method manage the notification when Characters element were found.

Parameters:
ch The array with the characters founds
start The index of the first position of the characters found
length Specify how many characters must be read from the array

Implements XmlSaxContentHandler.

virtual void EndDocument (  )  [virtual]

This method manage the notification when the end document node were found

Implements XmlSaxContentHandler.

virtual void EndElement ( System.String  namespaceURI,
System.String  localName,
System.String  qName 
) [virtual]

This method manage the notification when the end element node were found

Parameters:
namespaceURI The namespace URI of the element
localName The local name of the element
qName The long name (qualify name) of the element

Implements XmlSaxContentHandler.

virtual void EndPrefixMapping ( System.String  prefix  )  [virtual]

This method manage the event when an area of expecific URI prefix was ended.

Parameters:
prefix The prefix that ends.

Implements XmlSaxContentHandler.

virtual void IgnorableWhitespace ( char[]  ch,
int  start,
int  length 
) [virtual]

This method manage the event when a ignorable whitespace node were 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

Implements XmlSaxContentHandler.

virtual void ProcessingInstruction ( System.String  target,
System.String  data 
) [virtual]

This method manage the event when a processing instruction were found

Parameters:
target The processing instruction target
data The processing instruction data

Implements XmlSaxContentHandler.

virtual void SetDocumentLocator ( XmlSaxLocator  locator  )  [virtual]

Receive an object for locating the origin of events into the XML document

Parameters:
locator A XmlSaxLocator object that can return the location of any events into the XML document

Implements XmlSaxContentHandler.

virtual void SkippedEntity ( System.String  name  )  [virtual]

This method manage the event when a skipped entity was found.

Parameters:
name The name of the skipped entity.

Implements XmlSaxContentHandler.

virtual void StartDocument (  )  [virtual]

This method manage the event when a start document node were found

Implements XmlSaxContentHandler.

virtual void StartElement ( System.String  namespaceURI,
System.String  localName,
System.String  qName,
XmlAttributes  qAtts 
) [virtual]

This method manage the event when a start element node were found

Parameters:
namespaceURI The namespace uri of the element tag
localName The local name of the element
qName The Qualify (long) name of the element
qAtts The list of attributes of the element

Implements XmlSaxContentHandler.

virtual void StartPrefixMapping ( System.String  prefix,
System.String  uri 
) [virtual]

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.

Implements XmlSaxContentHandler.