#include <FB2TextContext.h>
Public Member Functions | |
FB2ParaContextBase (FB2ParserContext *parentContext, const FB2BlockFormat &format) | |
Private Member Functions | |
virtual void | startOfElement () |
Signalize the start of an element. | |
virtual void | endOfElement () |
Signalize the end of an element. | |
virtual void | attribute (const EBOOKToken &name, const EBOOKToken *ns, const char *value) |
Process an attribute. |
libebook::FB2ParaContextBase::FB2ParaContextBase | ( | FB2ParserContext * | parentContext, |
const FB2BlockFormat & | format | ||
) |
void libebook::FB2ParaContextBase::attribute | ( | const EBOOKToken & | name, |
const EBOOKToken * | ns, | ||
const char * | value | ||
) | [private, virtual] |
Process an attribute.
Attributes are handled to the current element's context one by one.
Reimplemented from libebook::FB2StyleContextBase.
void libebook::FB2ParaContextBase::endOfElement | ( | ) | [private, virtual] |
Signalize the end of an element.
Reimplemented from libebook::FB2StyleContextBase.
void libebook::FB2ParaContextBase::startOfElement | ( | ) | [private, virtual] |
Signalize the start of an element.
This can be used if initialization of the context needs virtual function calls.
Implements libebook::FB2XMLParserContext.