COMPONENT‐PRIVATE CLASS. DO NOT USE OUTSIDE OF THIS COMPONENT.
Synopsis
Declared in <balxml_decoder.h>
class Decoder_NillableContext
: public Decoder_ElementContext
Description
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.
Base Classes
Name |
Description |
COMPONENT‐PRIVATE CLASS. DO NOT USE OUTSIDE OF THIS COMPONENT. |
Member Functions
Name |
Description |
|
Create a nillable‐element parsing context. |
|
Destroy this parsing context. |
|
Process the specified character data while decoding. Return 0 on success, and a non‐zero value otherwise. |
Invoked when the decoder begins parsing. Return 0 on success, and a non‐zero value otherwise. |
|
|
Invoked when the decoder finishes parsing an element. Return 0 on success, and a non‐zero value otherwise. |
Return |
|
|
Invoked when the decoder encounters an attribute. Return 0 on success, and a non‐zero value otherwise. |
|
Invoked when the decoder encounters a sub‐element. Return 0 on success, and a non‐zero value otherwise. |
Set the element context to the specified |
|
|
Invoked when the decoder begins parsing an element. Return 0 on success, and a non‐zero value otherwise. |
Created with MrDocs