#include <FB2TableContext.h>
Public Member Functions | |
FB2TrContext (FB2ParserContext *parentContext, FB2TableModel *model, const FB2BlockFormat &format) | |
![]() | |
FB2BlockFormatContextBase (FB2ParserContext *parentContext, const FB2BlockFormat &format) | |
FB2BlockFormat & | getBlockFormat () |
const FB2BlockFormat & | getBlockFormat () const |
void | setLang (const char *lang) |
![]() | |
FB2NodeContextBase (FB2ParserContext *parentContext, FB2Collector *collector=0) | |
![]() | |
FB2ParserContext (FB2ParserContext *parentContext, FB2Collector *collector=0) | |
Create a new context with parentContext as parent. More... | |
virtual FB2XMLParserContext * | leaveContext () const |
Destroy this context and return parent. More... | |
FB2Collector * | getCollector () const |
Get the collector. More... | |
FB2ParserContext * | getParentContext () const |
Get the parent context. More... | |
![]() | |
virtual | ~FB2XMLParserContext ()=0 |
Private Member Functions | |
FB2TrContext (const FB2TrContext &) | |
FB2TrContext & | operator= (const FB2TrContext &) |
virtual FB2XMLParserContext * | element (const FB2TokenData &name, const FB2TokenData &ns) |
Create a context for parsing a child element. More... | |
virtual void | endOfElement () |
Signalize the end of an element. More... | |
virtual void | attribute (const FB2TokenData &name, const FB2TokenData *ns, const char *value) |
Process an attribute. More... | |
void | openRow (bool header) |
Private Attributes | |
FB2TableModel * | m_model |
bool | m_opened |
|
private |
libebook::FB2TrContext::FB2TrContext | ( | FB2ParserContext * | parentContext, |
FB2TableModel * | model, | ||
const FB2BlockFormat & | format | ||
) |
|
privatevirtual |
Process an attribute.
Attributes are handled to the current element's context one by one.
Implements libebook::FB2XMLParserContext.
|
privatevirtual |
Create a context for parsing a child element.
0
if the child element cannot be handled. Implements libebook::FB2XMLParserContext.
|
privatevirtual |
Signalize the end of an element.
Implements libebook::FB2XMLParserContext.
|
private |
Referenced by element(), and endOfElement().
|
private |
|
private |
|
private |
Referenced by element(), endOfElement(), and openRow().