libebook::FictionBook2EmptyLineContext Class Reference

#include <FictionBook2BlockContext.h>

Inheritance diagram for libebook::FictionBook2EmptyLineContext:
libebook::FictionBook2DataContextBase libebook::FictionBook2ParserContext libebook::FictionBook2XMLParserContext

Public Member Functions

 FictionBook2EmptyLineContext (FictionBook2ParserContext *parentContext)
 
- Public Member Functions inherited from libebook::FictionBook2DataContextBase
 FictionBook2DataContextBase (FictionBook2ParserContext *parentContext)
 
- Public Member Functions inherited from libebook::FictionBook2ParserContext
 FictionBook2ParserContext (FictionBook2ParserContext *parentContext, FictionBook2Collector *collector=nullptr)
 Create a new context with parentContext as parent. More...
 
FictionBook2XMLParserContextleaveContext () const override
 Destroy this context and return parent. More...
 
FictionBook2CollectorgetCollector () const
 Get the collector. More...
 
FictionBook2ParserContextgetParentContext () const
 Get the parent context. More...
 
- Public Member Functions inherited from libebook::FictionBook2XMLParserContext
virtual ~FictionBook2XMLParserContext ()=0
 
virtual FictionBook2XMLParserContextleaveContext () const =0
 Destroy this context and return parent. More...
 
virtual FictionBook2XMLParserContextelement (const FictionBook2TokenData &name, const FictionBook2TokenData &ns)=0
 Create a context for parsing a child element. More...
 
virtual void startOfElement ()=0
 Signalize the start of an element. More...
 
virtual void endOfElement ()=0
 Signalize the end of an element. More...
 
virtual void attribute (const FictionBook2TokenData &name, const FictionBook2TokenData *ns, const char *value)=0
 Process an attribute. More...
 
virtual void endOfAttributes ()=0
 Signalize the end of attributes. More...
 
virtual void text (const char *value)=0
 Process textual content of an element. More...
 

Private Member Functions

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...
 

Constructor & Destructor Documentation

◆ FictionBook2EmptyLineContext()

libebook::FictionBook2EmptyLineContext::FictionBook2EmptyLineContext ( FictionBook2ParserContext parentContext)
explicit

Member Function Documentation

◆ attribute()

void libebook::FictionBook2EmptyLineContext::attribute ( const FictionBook2TokenData name,
const FictionBook2TokenData ns,
const char *  value 
)
overrideprivatevirtual

Process an attribute.

Attributes are handled to the current element's context one by one.

Implements libebook::FictionBook2XMLParserContext.

◆ endOfElement()

void libebook::FictionBook2EmptyLineContext::endOfElement ( )
overrideprivatevirtual

Signalize the end of an element.

Implements libebook::FictionBook2XMLParserContext.


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

Generated for libe-book by doxygen 1.9.3