libebook::FictionBook2StrongContext Class Reference

#include <FictionBook2TextContext.h>

Inheritance diagram for libebook::FictionBook2StrongContext:
libebook::FictionBook2StyleContextBase libebook::FictionBook2ParserContext libebook::FictionBook2XMLParserContext

Public Member Functions

 FictionBook2StrongContext (std::shared_ptr< FictionBook2ParserContext > parentContext, FictionBook2Style &style)
 
- Public Member Functions inherited from libebook::FictionBook2StyleContextBase
 FictionBook2StyleContextBase (std::shared_ptr< FictionBook2ParserContext > parentContext, const FictionBook2Style &style)
 
- Public Member Functions inherited from libebook::FictionBook2ParserContext
 FictionBook2ParserContext (std::shared_ptr< FictionBook2ParserContext > parentContext, FictionBook2Collector *collector=nullptr)
 Create a new context with parentContext as parent. More...
 
virtual ~FictionBook2ParserContext ()
 
std::shared_ptr< FictionBook2XMLParserContextleaveContext () const override
 Destroy this context and return parent. More...
 
FictionBook2CollectorgetCollector () const
 Get the collector. More...
 
std::shared_ptr< FictionBook2ParserContextgetParentContext () const
 Get the parent context. More...
 
- Public Member Functions inherited from libebook::FictionBook2XMLParserContext
virtual ~FictionBook2XMLParserContext ()=0
 

Private Member Functions

void startOfElement () override
 Signalize the start of an element. More...
 

Additional Inherited Members

- Protected Member Functions inherited from libebook::FictionBook2StyleContextBase
FictionBook2StylegetStyle ()
 
FictionBook2TextFormatgetTextFormat ()
 
std::shared_ptr< FictionBook2XMLParserContextelement (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 endOfAttributes () override
 Signalize the end of attributes. More...
 
void text (const char *value) override
 Process textual content of an element. More...
 

Constructor & Destructor Documentation

libebook::FictionBook2StrongContext::FictionBook2StrongContext ( std::shared_ptr< FictionBook2ParserContext parentContext,
FictionBook2Style style 
)

Member Function Documentation

void libebook::FictionBook2StrongContext::startOfElement ( )
overrideprivatevirtual

Signalize the start of an element.

This can be used if initialization of the context needs virtual function calls.

Implements libebook::FictionBook2XMLParserContext.


The documentation for this class was generated from the following files:

Generated for libe-book by doxygen 1.8.10