#include <IWORKXMLContextBase.h>
Protected Member Functions | |
| IWORKXMLContextElement (IWORKXMLParserState &) | |
| void | attribute (int name, const char *value) override |
| Process an attribute. More... | |
| void | text (const char *value) override |
| Process textual content of an element. More... | |
| const boost::optional< ID_t > & | getId () const |
| void | setId (const char *value) |
Protected Member Functions inherited from libetonyek::IWORKXMLContextMinimal | |
| IWORKXMLContextMinimal () | |
| void | startOfElement () override |
| Signalize the start of an element. More... | |
| void | endOfElement () override |
| Signalize the end of an element. More... | |
Private Attributes | |
| boost::optional< ID_t > | m_id |
Additional Inherited Members | |
Public Member Functions inherited from libetonyek::IWORKXMLContext | |
| virtual | ~IWORKXMLContext ()=0 |
| virtual void | startOfElement ()=0 |
| Signalize the start of an element. More... | |
| virtual void | attribute (int name, const char *value)=0 |
| Process an attribute. More... | |
| virtual IWORKXMLContextPtr_t | element (int name)=0 |
| Create a context for parsing a child element. More... | |
| virtual void | text (const char *value)=0 |
| Process textual content of an element. More... | |
| virtual void | CDATA (const char *value) |
| Process CDATA content of an element. More... | |
| virtual void | endOfElement ()=0 |
| Signalize the end of an element. More... | |
|
explicitprotected |
|
overrideprotectedvirtual |
Process an attribute.
Attributes are fed to the current element's context one by one.
Implements libetonyek::IWORKXMLContext.
|
protected |
|
protected |
|
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 attribute(), getId(), and setId().