#include <FictionBook2TableContext.h>
Private Member Functions | |
FictionBook2TableContext (const FictionBook2TableContext &other) | |
FictionBook2TableContext & | operator= (const FictionBook2TableContext &other) |
FictionBook2XMLParserContext * | element (const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override |
Create a context for parsing a child element. | |
void | startOfElement () override |
Signalize the start of an element. | |
void | endOfElement () override |
Signalize the end of an element. | |
void | attribute (const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override |
Process an attribute. | |
Private Attributes | |
std::shared_ptr< FictionBook2TableModel > | m_model |
|
private |
libebook::FictionBook2TableContext::FictionBook2TableContext | ( | FictionBook2ParserContext * | parentContext, |
const FictionBook2BlockFormat & | format ) |
|
override |
|
overrideprivatevirtual |
Process an attribute.
Attributes are handled to the current element's context one by one.
Implements libebook::FictionBook2XMLParserContext.
|
overrideprivatevirtual |
Create a context for parsing a child element.
0
if the child element cannot be handled. Implements libebook::FictionBook2XMLParserContext.
|
overrideprivatevirtual |
Signalize the end of an element.
Implements libebook::FictionBook2XMLParserContext.
|
private |
|
overrideprivatevirtual |
Signalize the start of an element.
This can be used if initialization of the context needs virtual function calls.
Reimplemented from libebook::FictionBook2NodeContextBase.
|
private |
Referenced by element().