libebook::FB2AContext Class Reference

#include <FB2TextContext.h>

Inheritance diagram for libebook::FB2AContext:
libebook::FB2StyleContextBase libebook::FB2ParserContext libebook::FB2XMLParserContext

List of all members.

Public Member Functions

 FB2AContext (FB2ParserContext *parentContext, const FB2Style &style)

Private Member Functions

virtual void startOfElement ()
 Signalize the start 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.
virtual void text (const char *text)
 Process textual content of an element.

Private Attributes

std::string m_href
bool m_valid
bool m_note

Constructor & Destructor Documentation

libebook::FB2AContext::FB2AContext ( FB2ParserContext parentContext,
const FB2Style style 
)

Member Function Documentation

void libebook::FB2AContext::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::FB2AContext::endOfAttributes ( ) [private, virtual]

Signalize the end of attributes.

Reimplemented from libebook::FB2StyleContextBase.

void libebook::FB2AContext::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.

void libebook::FB2AContext::text ( const char *  value) [private, virtual]

Process textual content of an element.

This function can be called more than once if the element has mixed content.

Reimplemented from libebook::FB2StyleContextBase.


Member Data Documentation

std::string libebook::FB2AContext::m_href [private]

Referenced by attribute(), endOfAttributes(), and text().

Referenced by attribute(), and endOfAttributes().


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