#include <IWORKDiscardContext.h>
Classes | |
struct | Data |
Public Member Functions | |
IWORKDiscardContext (IWORKXMLParserState &state) | |
![]() | |
virtual | ~IWORKXMLContext ()=0 |
virtual void | CDATA (const char *value) |
Process CDATA content of an element. | |
Protected Member Functions | |
void | startOfElement () override |
Signalize the start of an element. | |
void | attribute (int name, const char *value) override |
Process an attribute. | |
IWORKXMLContextPtr_t | element (int name) override |
Create a context for parsing a child element. | |
void | text (const char *value) override |
Process textual content of an element. | |
void | endOfElement () override |
Signalize the end of an element. | |
Private Attributes | |
IWORKXMLParserState & | m_state |
unsigned | m_level |
bool | m_enableCollector |
std::shared_ptr< Data > | m_data |
|
explicit |
|
overrideprotectedvirtual |
Process an attribute.
Attributes are fed to the current element's context one by one.
Implements libetonyek::IWORKXMLContext.
|
overrideprotectedvirtual |
Create a context for parsing a child element.
Implements libetonyek::IWORKXMLContext.
|
overrideprotectedvirtual |
Signalize the end of an element.
Implements libetonyek::IWORKXMLContext.
|
overrideprotectedvirtual |
Signalize the start of an element.
This can be used if initialization of the context needs virtual function calls.
Implements libetonyek::IWORKXMLContext.
|
overrideprotectedvirtual |
Process textual content of an element.
This function can be called more than once if the element has mixed content.
Implements libetonyek::IWORKXMLContext.
|
private |
Referenced by element(), and IWORKDiscardContext().
|
private |
Referenced by endOfElement(), IWORKDiscardContext(), and startOfElement().
|
private |
Referenced by endOfElement(), IWORKDiscardContext(), and startOfElement().
|
private |
Referenced by element(), endOfElement(), IWORKDiscardContext(), and startOfElement().