#include <EBOOKXMLContextBase.h>
Protected Member Functions | |
void | startOfElement () override |
Signalize the start of an element. More... | |
void | attribute (int name, const char *value) override |
Process an attribute. More... | |
void | endOfAttributes () override |
Signalize the end of attributes. More... | |
void | text (const char *value) override |
Process textual content of an element. More... | |
void | endOfElement () override |
Signalize the end of an element. More... | |
Additional Inherited Members | |
![]() | |
virtual | ~EBOOKXMLContext ()=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 void | endOfAttributes ()=0 |
Signalize the end of attributes. More... | |
virtual std::shared_ptr< EBOOKXMLContext > | 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 | endOfElement ()=0 |
Signalize the end of an element. More... | |
|
overrideprotectedvirtual |
Process an attribute.
Attributes are fed to the current element's context one by one.
Implements libebook::EBOOKXMLContext.
|
overrideprotectedvirtual |
Signalize the end of attributes.
Implements libebook::EBOOKXMLContext.
|
overrideprotectedvirtual |
Signalize the end of an element.
Implements libebook::EBOOKXMLContext.
|
overrideprotectedvirtual |
Signalize the start of an element.
This can be used if initialization of the context needs virtual function calls.
Implements libebook::EBOOKXMLContext.
|
overrideprotectedvirtual |
Process textual content of an element.
This function can be called more than once if the element has mixed content.
Implements libebook::EBOOKXMLContext.