|
BDE 4.14.0 Production release
|
#include <balxml_decoder.h>
Public Member Functions | |
| Decoder_NillableContext () | |
| ~Decoder_NillableContext () BSLS_KEYWORD_OVERRIDE | |
| int | startElement (Decoder *decoder) BSLS_KEYWORD_OVERRIDE |
| int | endElement (Decoder *decoder) BSLS_KEYWORD_OVERRIDE |
| int | addCharacters (const char *chars, bsl::size_t length, Decoder *decoder) BSLS_KEYWORD_OVERRIDE |
| int | parseAttribute (const char *name, const char *value, bsl::size_t lenValue, Decoder *decoder) BSLS_KEYWORD_OVERRIDE |
| int | parseSubElement (const char *elementName, Decoder *decoder) BSLS_KEYWORD_OVERRIDE |
| void | setElementContext (Decoder_ElementContext *elementContext) |
| bool | isNil () const |
Return true if the element is nil. | |
Public Member Functions inherited from balxml::Decoder_ElementContext | |
| virtual | ~Decoder_ElementContext () |
| For syntactic purposes only. | |
| int | beginParse (Decoder *decoder) |
COMPONENT-PRIVATE CLASS. DO NOT USE OUTSIDE OF THIS COMPONENT.
Context for elements that have bdlat_FormattingMode::e_NILLABLE. It acts as a proxy and forwards all callbacks to the held d_elementContext_p. If endElement is called directly after startElement, then the isNil() accessor will return true.
See balxml_decoder
| balxml::Decoder_NillableContext::Decoder_NillableContext | ( | ) |
| balxml::Decoder_NillableContext::~Decoder_NillableContext | ( | ) |
|
virtual |
Implements balxml::Decoder_ElementContext.
|
virtual |
Implements balxml::Decoder_ElementContext.
| bool balxml::Decoder_NillableContext::isNil | ( | ) | const |
|
virtual |
Implements balxml::Decoder_ElementContext.
|
virtual |
Implements balxml::Decoder_ElementContext.
| void balxml::Decoder_NillableContext::setElementContext | ( | Decoder_ElementContext * | elementContext | ) |
Set the element context to the specified elementContext. The behavior of all methods in this class are undefined if this method has not been called.
|
virtual |
Implements balxml::Decoder_ElementContext.