#include <FictionBook2TableContext.h>
Private Member Functions | |
FictionBook2TrContext (const FictionBook2TrContext &) | |
FictionBook2TrContext & | operator= (const FictionBook2TrContext &) |
FictionBook2XMLParserContext * | element (const FictionBook2TokenData &name, const FictionBook2TokenData &ns) override |
Create a context for parsing a child element. More... | |
void | endOfElement () override |
Signalize the end of an element. More... | |
void | attribute (const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value) override |
Process an attribute. More... | |
void | openRow (bool header) |
Private Attributes | |
const std::shared_ptr< FictionBook2TableModel > | m_model |
bool | m_opened |
|
private |
libebook::FictionBook2TrContext::FictionBook2TrContext | ( | FictionBook2ParserContext * | parentContext, |
const std::shared_ptr< FictionBook2TableModel > & | model, | ||
const FictionBook2BlockFormat & | format | ||
) |
|
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 |
Referenced by element(), and endOfElement().
|
private |
|
private |
|
private |
Referenced by element(), endOfElement(), and openRow().