#include <FB2ParserContext.h>
Public Member Functions | |
FB2BlockFormatContextBase (FB2ParserContext *parentContext, const FB2BlockFormat &format) | |
FB2BlockFormat & | getBlockFormat () |
const FB2BlockFormat & | getBlockFormat () const |
![]() | |
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 |
virtual FB2XMLParserContext * | element (const EBOOKToken &name, const EBOOKToken &ns)=0 |
Create a context for parsing a child element. More... | |
virtual void | endOfElement ()=0 |
Signalize the end of an element. More... | |
virtual void | attribute (const EBOOKToken &name, const EBOOKToken *ns, const char *value)=0 |
Process an attribute. More... | |
Private Attributes | |
FB2BlockFormat | m_format |
libebook::FB2BlockFormatContextBase::FB2BlockFormatContextBase | ( | FB2ParserContext * | parentContext, |
const FB2BlockFormat & | format | ||
) |
FB2BlockFormat & libebook::FB2BlockFormatContextBase::getBlockFormat | ( | ) |
Referenced by libebook::FB2TableContext::element(), libebook::FB2CiteContext::element(), libebook::FB2EpigraphContext::element(), libebook::FB2TrContext::element(), libebook::FB2PoemContext::element(), libebook::FB2StanzaContext::element(), libebook::FB2TitleContext::element(), libebook::FB2StanzaContext::FB2StanzaContext(), libebook::FB2TitleContext::FB2TitleContext(), libebook::FB2TrContext::openRow(), and libebook::FB2TableContext::startOfElement().
const FB2BlockFormat & libebook::FB2BlockFormatContextBase::getBlockFormat | ( | ) | const |
|
private |
Referenced by getBlockFormat().