#include <FictionBook2ParserContext.h>
Public Member Functions | |
| FictionBook2BlockFormatContextBase (FictionBook2ParserContext *parentContext, const FictionBook2BlockFormat &format) | |
| FictionBook2BlockFormat & | getBlockFormat () |
| const FictionBook2BlockFormat & | getBlockFormat () const |
| void | setLang (const char *lang) |
Public Member Functions inherited from libebook::FictionBook2NodeContextBase | |
| FictionBook2NodeContextBase (FictionBook2ParserContext *parentContext, FictionBook2Collector *collector=nullptr) | |
Public Member Functions inherited from libebook::FictionBook2ParserContext | |
| 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. | |
Public Member Functions inherited from libebook::FictionBook2XMLParserContext | |
| virtual | ~FictionBook2XMLParserContext ()=0 |
| virtual FictionBook2XMLParserContext * | element (const FictionBook2TokenData &name, const FictionBook2TokenData &ns)=0 |
| Create a context for parsing a child element. | |
| virtual void | endOfElement ()=0 |
| Signalize the end of an element. | |
| virtual void | attribute (const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value)=0 |
| Process an attribute. | |
Private Attributes | |
| FictionBook2BlockFormat | m_format |
| libebook::FictionBook2BlockFormatContextBase::FictionBook2BlockFormatContextBase | ( | FictionBook2ParserContext * | parentContext, |
| const FictionBook2BlockFormat & | format | ||
| ) |
| FictionBook2BlockFormat & libebook::FictionBook2BlockFormatContextBase::getBlockFormat | ( | ) |
Referenced by libebook::FictionBook2CiteContext::element(), libebook::FictionBook2EpigraphContext::element(), libebook::FictionBook2PoemContext::element(), libebook::FictionBook2StanzaContext::element(), libebook::FictionBook2TitleContext::element(), libebook::FictionBook2TableContext::element(), libebook::FictionBook2TrContext::element(), libebook::FictionBook2StanzaContext::FictionBook2StanzaContext(), libebook::FictionBook2TitleContext::FictionBook2TitleContext(), libebook::FictionBook2TrContext::openRow(), and libebook::FictionBook2TableContext::startOfElement().
| const FictionBook2BlockFormat & libebook::FictionBook2BlockFormatContextBase::getBlockFormat | ( | ) | const |
| void libebook::FictionBook2BlockFormatContextBase::setLang | ( | const char * | lang | ) |
|
private |
Referenced by getBlockFormat(), getBlockFormat(), and setLang().