#include <FB2TextContext.h>
Public Member Functions | |
FB2InlineImageContext (FB2ParserContext *parentContext, const FB2Style &style) | |
Private Member Functions | |
virtual void | startOfElement () |
Signalize the start of an element. | |
virtual void | endOfElement () |
Signalize the end of an element. | |
virtual void | endOfAttributes () |
Signalize the end of attributes. | |
virtual void | attribute (const EBOOKToken &name, const EBOOKToken *ns, const char *value) |
Process an attribute. | |
Private Attributes | |
const FB2Style & | m_style |
std::string | m_href |
std::string | m_altText |
bool | m_valid |
libebook::FB2InlineImageContext::FB2InlineImageContext | ( | FB2ParserContext * | parentContext, |
const FB2Style & | style | ||
) |
void libebook::FB2InlineImageContext::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.
Implements libebook::FB2XMLParserContext.
void libebook::FB2InlineImageContext::endOfAttributes | ( | ) | [private, virtual] |
Signalize the end of attributes.
Reimplemented from libebook::FB2DataContextBase.
void libebook::FB2InlineImageContext::endOfElement | ( | ) | [private, virtual] |
Signalize the end of an element.
Implements libebook::FB2XMLParserContext.
void libebook::FB2InlineImageContext::startOfElement | ( | ) | [private, virtual] |
Signalize the start of an element.
This can be used if initialization of the context needs virtual function calls.
Reimplemented from libebook::FB2DataContextBase.
std::string libebook::FB2InlineImageContext::m_altText [private] |
Referenced by attribute(), and endOfElement().
std::string libebook::FB2InlineImageContext::m_href [private] |
Referenced by attribute(), and endOfElement().
const FB2Style& libebook::FB2InlineImageContext::m_style [private] |
Referenced by endOfElement().
bool libebook::FB2InlineImageContext::m_valid [private] |
Referenced by attribute(), and endOfElement().