#include <FictionBook2BlockContext.h>
Public Member Functions | |
FictionBook2EmptyLineContext (FictionBook2ParserContext *parentContext) | |
![]() | |
FictionBook2DataContextBase (FictionBook2ParserContext *parentContext) | |
![]() | |
FictionBook2ParserContext (FictionBook2ParserContext *parentContext, FictionBook2Collector *collector=nullptr) | |
Create a new context with parentContext as parent. | |
FictionBook2XMLParserContext * | leaveContext () const override |
Destroy this context and return parent. | |
FictionBook2Collector * | getCollector () const |
Get the collector. | |
FictionBook2ParserContext * | getParentContext () const |
Get the parent context. | |
![]() | |
virtual | ~FictionBook2XMLParserContext ()=0 |
Private Member Functions | |
void | endOfElement () override |
Signalize the end of an element. | |
void | attribute (const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override |
Process an attribute. | |
|
explicit |
|
overrideprivatevirtual |
Process an attribute.
Attributes are handled to the current element's context one by one.
Implements libebook::FictionBook2XMLParserContext.
|
overrideprivatevirtual |
Signalize the end of an element.
Implements libebook::FictionBook2XMLParserContext.