BDE 4.14.0 Production release
|
#include <balxml_decoder.h>
Public Member Functions | |
virtual | ~Decoder_ElementContext () |
For syntactic purposes only. | |
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) |
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
|
virtual |
|
pure virtual |
Implemented in balxml::Decoder_ChoiceContext< TYPE >, balxml::Decoder_NillableContext, balxml::Decoder_PushParserContext< TYPE, PARSER >, balxml::Decoder_SequenceContext< TYPE >, balxml::Decoder_SimpleContext< TYPE >, balxml::Decoder_CustomizedContext< TYPE >, balxml::Decoder_UnknownElementContext, balxml::Decoder_UTF8Context< TYPE >, balxml::Decoder_StdStringContext, and balxml::Decoder_StdVectorCharContext.
int balxml::Decoder_ElementContext::beginParse | ( | Decoder * | decoder | ) |
|
pure virtual |
Implemented in balxml::Decoder_ChoiceContext< TYPE >, balxml::Decoder_NillableContext, balxml::Decoder_PushParserContext< TYPE, PARSER >, balxml::Decoder_SequenceContext< TYPE >, balxml::Decoder_SimpleContext< TYPE >, balxml::Decoder_CustomizedContext< TYPE >, balxml::Decoder_UnknownElementContext, balxml::Decoder_UTF8Context< TYPE >, balxml::Decoder_StdStringContext, and balxml::Decoder_StdVectorCharContext.
|
pure virtual |
Implemented in balxml::Decoder_ChoiceContext< TYPE >, balxml::Decoder_NillableContext, balxml::Decoder_PushParserContext< TYPE, PARSER >, balxml::Decoder_SequenceContext< TYPE >, balxml::Decoder_SimpleContext< TYPE >, balxml::Decoder_CustomizedContext< TYPE >, balxml::Decoder_UnknownElementContext, balxml::Decoder_UTF8Context< TYPE >, balxml::Decoder_StdStringContext, and balxml::Decoder_StdVectorCharContext.
|
pure virtual |
Implemented in balxml::Decoder_ChoiceContext< TYPE >, balxml::Decoder_NillableContext, balxml::Decoder_PushParserContext< TYPE, PARSER >, balxml::Decoder_SequenceContext< TYPE >, balxml::Decoder_SimpleContext< TYPE >, balxml::Decoder_CustomizedContext< TYPE >, balxml::Decoder_UnknownElementContext, balxml::Decoder_UTF8Context< TYPE >, balxml::Decoder_StdStringContext, and balxml::Decoder_StdVectorCharContext.
|
pure virtual |
Implemented in balxml::Decoder_ChoiceContext< TYPE >, balxml::Decoder_NillableContext, balxml::Decoder_PushParserContext< TYPE, PARSER >, balxml::Decoder_SequenceContext< TYPE >, balxml::Decoder_SimpleContext< TYPE >, balxml::Decoder_CustomizedContext< TYPE >, balxml::Decoder_UnknownElementContext, balxml::Decoder_UTF8Context< TYPE >, balxml::Decoder_StdStringContext, and balxml::Decoder_StdVectorCharContext.