Quick Links:

bal | bbl | bdl | bsl

Public Member Functions

balxml::Decoder_ElementContext Class Reference

#include <balxml_decoder.h>

Inheritance diagram for balxml::Decoder_ElementContext:
balxml::Decoder_ChoiceContext< TYPE > balxml::Decoder_CustomizedContext< TYPE > balxml::Decoder_NillableContext balxml::Decoder_PushParserContext< TYPE, PARSER > balxml::Decoder_SequenceContext< TYPE > balxml::Decoder_SimpleContext< TYPE > balxml::Decoder_StdStringContext balxml::Decoder_StdVectorCharContext balxml::Decoder_UnknownElementContext balxml::Decoder_UTF8Context< TYPE >

List of all members.

Public Member Functions

virtual ~Decoder_ElementContext ()
virtual int startElement (Decoder *decoder)=0
virtual int endElement (Decoder *decoder)=0
virtual int addCharacters (const char *chars, bsl::size_t length, Decoder *decoder)=0
virtual int parseAttribute (const char *name, const char *value, bsl::size_t lenValue, Decoder *decoder)=0
virtual int parseSubElement (const char *elementName, Decoder *decoder)=0
int beginParse (Decoder *decoder)

Detailed Description

COMPONENT-PRIVATE CLASS. DO NOT USE OUTSIDE OF THIS COMPONENT.

This protocol class contain functions related to parsing XML elements. When the Decoder reads the XML document, it forwards the information about the current node as events to this protocol. There are several implementations of this protocol, depending on the type of element. The correct implementation for each type is selected by the Decoder_SelectContext meta-function. Each of the functions take a context parameter, which contains members related to the context of the decoder.

See Component balxml_decoder


Constructor & Destructor Documentation

virtual balxml::Decoder_ElementContext::~Decoder_ElementContext (  )  [virtual]

For syntactic purposes only.


Member Function Documentation

int balxml::Decoder_ElementContext::beginParse ( Decoder decoder  ) 

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