ASN1C C# Runtime Library  7.2
Public Member Functions | List of all members
XmlSaxParserAdapter Class Reference
Inheritance diagram for XmlSaxParserAdapter:
XmlSaxParser XmlSaxContentHandler

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)
 
- Public Member Functions inherited from XmlSaxParser
virtual XmlSaxContentHandler GetContentHandler ()
 
virtual XmlSaxEntityResolver GetEntityResolver ()
 
virtual XmlSaxErrorHandler GetErrorHandler ()
 
virtual void Parse (System.IO.FileInfo filepath, XmlSaxContentHandler handler)
 
virtual void Parse (System.String filepath, XmlSaxContentHandler handler)
 
virtual void Parse (System.IO.Stream stream, XmlSaxContentHandler handler)
 
virtual void Parse (System.IO.Stream stream, XmlSaxContentHandler handler, System.String URI)
 
virtual void Parse (XmlSource source, XmlSaxContentHandler handler)
 
virtual void Parse (System.IO.FileInfo filepath)
 
virtual void Parse (System.String filepath)
 
virtual void Parse (System.IO.Stream stream)
 
virtual void Parse (System.IO.Stream stream, System.String URI)
 
virtual void Parse (XmlSource source)
 
virtual void SetContentHandler (XmlSaxContentHandler handler)
 
virtual void SetDocumentHandler (XmlSaxContentHandler handler)
 
virtual void SetEntityResolver (XmlSaxEntityResolver resolver)
 
virtual void SetErrorHandler (XmlSaxErrorHandler handler)
 
 XmlSaxParser ()
 

Additional Inherited Members

- Static Public Member Functions inherited from XmlSaxParser
static XmlSaxParser CloneInstance (XmlSaxParser instance)
 
static XmlSaxParser NewInstance ()
 
- Protected Attributes inherited from XmlSaxParser
XmlSaxContentHandler callBackHandler
 
XmlSaxEntityResolver entityResolver
 
XmlSaxErrorHandler errorHandler
 
XmlSaxLexicalHandler lexical
 
XmlSaxLocatorImpl locator
 
bool namespaceAllowed
 
System.String parserFileName
 
System.Xml.XmlTextReader reader
 
- Properties inherited from XmlSaxParser
bool NamespaceAllowed [get, set]
 

Detailed Description

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

Member Function Documentation

◆ Characters()

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

This method manage the notification when Characters element were found.

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

Implements XmlSaxContentHandler.

◆ EndDocument()

virtual void EndDocument ( )
virtual

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

Implements XmlSaxContentHandler.

◆ EndElement()

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
namespaceURIThe namespace URI of the element
localNameThe local name of the element
qNameThe long name (qualify name) of the element

Implements XmlSaxContentHandler.

◆ EndPrefixMapping()

virtual void EndPrefixMapping ( System.String  prefix)
virtual

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

Parameters
prefixThe prefix that ends.

Implements XmlSaxContentHandler.

◆ IgnorableWhitespace()

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

This method manage the event when a ignorable whitespace node were found

Parameters
chThe array with the ignorable whitespaces
startThe index in the array with the ignorable whitespace
lengthThe length of the whitespaces

Implements XmlSaxContentHandler.

◆ ProcessingInstruction()

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

This method manage the event when a processing instruction were found

Parameters
targetThe processing instruction target
dataThe processing instruction data

Implements XmlSaxContentHandler.

◆ SetDocumentLocator()

virtual void SetDocumentLocator ( XmlSaxLocator  locator)
virtual

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

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

Implements XmlSaxContentHandler.

◆ SkippedEntity()

virtual void SkippedEntity ( System.String  name)
virtual

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

Parameters
nameThe name of the skipped entity.

Implements XmlSaxContentHandler.

◆ StartDocument()

virtual void StartDocument ( )
virtual

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

Implements XmlSaxContentHandler.

◆ StartElement()

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

Implements XmlSaxContentHandler.

◆ StartPrefixMapping()

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

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.

Implements XmlSaxContentHandler.