ASN1XERSAXDecodeHandler Class Reference
[XER Message Buffer Classes]

#include <asn1XerCppTypes.h>

List of all members.

Classes

struct  ErrorInfo

Public Member Functions

 ASN1XERSAXDecodeHandler ()
virtual int startElement (const OSUTF8CHAR *const uri, const OSUTF8CHAR *const localname, const OSUTF8CHAR *const qname, const OSUTF8CHAR *const *attrs)
virtual int characters (const OSUTF8CHAR *const chars, unsigned int length)
virtual int endElement (const OSUTF8CHAR *const uri, const OSUTF8CHAR *const localname, const OSUTF8CHAR *const qname)
virtual void startDocument ()
virtual void endDocument ()
virtual void resetErrorInfo ()
virtual void setErrorInfo (int status, const char *file=0, int line=0)
virtual int getErrorInfo (int *status, const char **file, int *line)
ASN1XERState getState ()
virtual int finalize ()
OSCTXT * finalizeMemBuf (OSRTMessageBufferIF *msgBuf, OSRTMEMBUF &memBuf)
virtual void init (int level=0)
OSBOOL isComplete ()
void setTypeName (const char *typeName)

Protected Attributes

ASN1XERState mCurrState
int mCurrElemID
int mLevel
int mStartLevel
const char * mpTypeName
struct
ASN1XERSAXDecodeHandler::ErrorInfo 
errorInfo

Detailed Description

This class is derived from the SAX class DefaultHandler base class. It contains variables and methods specific to XML decoding ASN.1 messages. It is used to intercept standard SAX parser events, such as startElement, characters, endElement. This class is used as a base class for XER ASN1C generated ASN1C_* classes.


Constructor & Destructor Documentation

ASN1XERSAXDecodeHandler::ASN1XERSAXDecodeHandler (  )  [inline]

Default constructor without parameters.


Member Function Documentation

ASN1XERState ASN1XERSAXDecodeHandler::getState (  )  [inline]

This method returns the current state of the decoding process.

Returns:
The state of the decoding process as type ASN1XERState. Can be XERINIT, XERSTART, XERDATA, or XEREND.
OSBOOL ASN1XERSAXDecodeHandler::isComplete (  )  [inline]

This method returns the completion status of the decoding process.

Returns:
The completion state of decoding process, as OSBOOL. Can be TRUE (completed) or FALSE (not completed).

The documentation for this class was generated from the following file: