Asn1XerSaxHandler Class Reference

Inheritance diagram for Asn1XerSaxHandler:
XmlSaxDefaultHandler XmlSaxContentHandler XmlSaxErrorHandler XmlSaxEntityResolver SaxHandler XsdAnySaxHandler

List of all members.

Public Member Functions

override void Error (System.Xml.XmlException exception)
override void FatalError (System.Xml.XmlException exception)
virtual void Init (int startLevel)
override void Warning (System.Xml.XmlException exception)

Protected Member Functions

internal Asn1XerSaxHandler ()

Protected Attributes

internal int mCurrElemID
internal int mCurrState
internal int mLevel
internal readonly int XERDATA = 2
internal readonly int XEREND = 3
internal readonly int XERINIT = 0
internal readonly int XERSTART = 1
internal readonly int XERUNKNOWN = - 1

Properties

virtual bool Complete [get]
virtual int State [get]

Detailed Description

This class extends the DefaultHandler SAX handler class to add items specific to ASN.1 XER encoding.


Constructor & Destructor Documentation

internal Asn1XerSaxHandler (  )  [protected]

The default constructor creates an XER SAX parser instance.


Member Function Documentation

override void Error ( System.Xml.XmlException  exception  )  [virtual]

This method manage when an error exception ocurrs in the parsing process

Parameters:
exception The exception throws by the parser
Exceptions:
System.Xml.XmlException The error exception

Reimplemented from XmlSaxDefaultHandler.

override void FatalError ( System.Xml.XmlException  exception  )  [virtual]

This method throws a fatal error exception.

Parameters:
exception The exception thrown by the parser
Exceptions:
System.Xml.XmlException The error exception

Reimplemented from XmlSaxDefaultHandler.

virtual void Init ( int  startLevel  )  [virtual]

This method initializes the class member variables.

Parameters:
startLevel The XER level to begin
override void Warning ( System.Xml.XmlException  exception  )  [virtual]

This method manage when a warning exception ocurrs in the parsing process

Parameters:
exception The exception Throws by the parser
Exceptions:
System.Xml.XmlException The warning exception

Reimplemented from XmlSaxDefaultHandler.


Member Data Documentation

internal int mCurrElemID [protected]

Variable holds the current element ID

internal int mCurrState [protected]

Variable holds the current XER processing state

internal int mLevel [protected]

Variable holds the start and current level

internal readonly int XERDATA = 2 [protected]

XER characters (data) state

internal readonly int XEREND = 3 [protected]

XER end element state

internal readonly int XERINIT = 0 [protected]

XER initialization state

internal readonly int XERSTART = 1 [protected]

XER start element state

internal readonly int XERUNKNOWN = - 1 [protected]

XER unknown state


Property Documentation

virtual bool Complete [get]

Gets the status of the current element parsing process is complete.

Value: true if found; otherwise false

virtual int State [get]

Gets the current state of the event handler.

Value: current state