[#BloombergLP-balxml-Decoder_UTF8Context] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::Decoder_UTF8Context :relfileprefix: ../../ :mrdocs: COMPONENT‐PRIVATE CLASS. DO NOT USE OUTSIDE OF THIS COMPONENT. == Synopsis Declared in `<balxml_decoder.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> class Decoder_UTF8Context : public xref:BloombergLP/balxml/Decoder_ElementContext.adoc[Decoder_ElementContext] ---- == Description Context for UTF8 strings (i.e., `bsl::string` and `bsl::vector<char>`). == Base Classes [cols="1,4"] |=== | Name| Description | `xref:BloombergLP/balxml/Decoder_ElementContext.adoc[Decoder_ElementContext]` | COMPONENT‐PRIVATE CLASS. DO NOT USE OUTSIDE OF THIS COMPONENT. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/balxml/Decoder_UTF8Context/2constructor.adoc[`Decoder_UTF8Context`] [.small]#[constructor]# | Create a UTF‐8 parsing context for the specified `object`. | xref:BloombergLP/balxml/Decoder_UTF8Context/addCharacters.adoc[`addCharacters`] [.small]#[virtual]# | Process the specified character data while decoding. Return 0 on success, and a non‐zero value otherwise. | xref:BloombergLP/balxml/Decoder_ElementContext/beginParse.adoc[`beginParse`] | Invoked when the decoder begins parsing. Return 0 on success, and a non‐zero value otherwise. | xref:BloombergLP/balxml/Decoder_UTF8Context/endElement.adoc[`endElement`] [.small]#[virtual]# | Invoked when the decoder finishes parsing an element. Return 0 on success, and a non‐zero value otherwise. | xref:BloombergLP/balxml/Decoder_UTF8Context/parseAttribute.adoc[`parseAttribute`] [.small]#[virtual]# | Invoked when the decoder encounters an attribute. Return 0 on success, and a non‐zero value otherwise. | xref:BloombergLP/balxml/Decoder_UTF8Context/parseSubElement.adoc[`parseSubElement`] [.small]#[virtual]# | Invoked when the decoder encounters a sub‐element. Return 0 on success, and a non‐zero value otherwise. | xref:BloombergLP/balxml/Decoder_UTF8Context/startElement.adoc[`startElement`] [.small]#[virtual]# | Invoked when the decoder begins parsing an element. Return 0 on success, and a non‐zero value otherwise. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#