ASN1C C# Runtime Library  7.6
Public Member Functions | List of all members
XmlSaxContentHandler Interface Reference
Inheritance diagram for XmlSaxContentHandler:
XmlSaxDefaultHandler XmlSaxParserAdapter Asn1XerSaxHandler Asn1OpenType.SaxHandler Asn1XmlAnyElem.XsdAnySaxHandler Asn1XmlSaxSimpleType

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

◆ Characters()

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

This method manage the notification when Characters elements were found.

Parameters
chThe array with the characters found.
startThe index of the first position of the characters found.
lengthSpecify how many characters must be read from the array.

Implemented in XmlSaxDefaultHandler, and XmlSaxParserAdapter.

◆ EndDocument()

void EndDocument ( )

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

Implemented in XmlSaxDefaultHandler, and XmlSaxParserAdapter.

◆ EndElement()

void EndElement ( System.String  namespaceURI,
System.String  localName,
System.String  qName 
)

This method manage the notification when the end element node was found.

Parameters
namespaceURIThe namespace URI of the element.
localNameThe local name of the element.
qNameThe long (qualified) name of the element.

Implemented in Asn1OpenType.SaxHandler, Asn1XmlAnyElem.XsdAnySaxHandler, XmlSaxDefaultHandler, and XmlSaxParserAdapter.

◆ EndPrefixMapping()

void EndPrefixMapping ( System.String  prefix)

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

Parameters
prefixThe prefix that ends.

Implemented in XmlSaxDefaultHandler, and XmlSaxParserAdapter.

◆ IgnorableWhitespace()

void IgnorableWhitespace ( char []  Ch,
int  Start,
int  Length 
)

This method manage the event when a ignorable whitespace node was found.

Parameters
ChThe array with the ignorable whitespaces.
StartThe index in the array with the ignorable whitespace.
LengthThe length of the whitespaces.

Implemented in XmlSaxDefaultHandler, and XmlSaxParserAdapter.

◆ ProcessingInstruction()

void ProcessingInstruction ( System.String  target,
System.String  data 
)

This method manage the event when a processing instruction was found.

Parameters
targetThe processing instruction target.
dataThe processing instruction data.

Implemented in XmlSaxDefaultHandler, and XmlSaxParserAdapter.

◆ SetDocumentLocator()

void SetDocumentLocator ( XmlSaxLocator  locator)

This method is not supported, it is included for compatibility.

Parameters
locatorA XmlSaxLocator object that can return the location of any events into the XML document

Implemented in XmlSaxDefaultHandler, and XmlSaxParserAdapter.

◆ SkippedEntity()

void SkippedEntity ( System.String  name)

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

Parameters
nameThe name of the skipped entity.

Implemented in XmlSaxDefaultHandler, and XmlSaxParserAdapter.

◆ StartDocument()

void StartDocument ( )

This method manage the event when a start document node was found.

Implemented in XmlSaxDefaultHandler, and XmlSaxParserAdapter.

◆ StartElement()

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
namespaceURIThe namespace uri of the element tag.
localNameThe local name of the element.
qNameThe long (qualified) name of the element.
attsThe list of attributes of the element.

Implemented in Asn1OpenType.SaxHandler, XmlSaxDefaultHandler, Asn1XmlAnyElem.XsdAnySaxHandler, and XmlSaxParserAdapter.

◆ StartPrefixMapping()

void StartPrefixMapping ( System.String  prefix,
System.String  uri 
)

This methods indicates the start of a prefix area in the XML document.

Parameters
prefixThe prefix of the area.
uriThe namespace URI of the prefix area.

Implemented in XmlSaxDefaultHandler, and XmlSaxParserAdapter.