BDE 4.39.x Production Release
Loading...
Searching...
No Matches
balxml::Decoder_ElementContext Class Referenceabstract

#include <balxml_decoder.h>

Inheritance diagram for balxml::Decoder_ElementContext:
balxml::Decoder_ChoiceContext< 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_UTF8Context< TYPE > balxml::Decoder_UnknownElementContext

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 balxml_decoder

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)
 

Constructor & Destructor Documentation

◆ ~Decoder_ElementContext()

virtual balxml::Decoder_ElementContext::~Decoder_ElementContext ( )
virtual

For syntactic purposes only.

Member Function Documentation

◆ addCharacters()

◆ beginParse()

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

◆ endElement()

◆ parseAttribute()

◆ parseSubElement()

◆ startElement()


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