#include <IWORKXMLContextBase.h>
Protected Member Functions | |
| IWORKXMLContextEmpty (IWORKXMLParserState &) | |
| virtual void | attribute (int name, const char *value) |
| Process an attribute. | |
| virtual IWORKXMLContextPtr_t | element (int token) |
| Create a context for parsing a child element. | |
| virtual void | text (const char *value) |
| Process textual content of an element. | |
| const boost::optional< ID_t > & | getId () const |
| const boost::optional< ID_t > & | getRef () const |
Private Attributes | |
| boost::optional< ID_t > | m_id |
| boost::optional< ID_t > | m_ref |
| libetonyek::IWORKXMLContextEmpty::IWORKXMLContextEmpty | ( | IWORKXMLParserState & | ) | [explicit, protected] |
| void libetonyek::IWORKXMLContextEmpty::attribute | ( | int | name, |
| const char * | value | ||
| ) | [protected, virtual] |
Process an attribute.
Attributes are fed to the current element's context one by one.
Implements libetonyek::IWORKXMLContext.
| IWORKXMLContextPtr_t libetonyek::IWORKXMLContextEmpty::element | ( | int | name | ) | [protected, virtual] |
Create a context for parsing a child element.
Implements libetonyek::IWORKXMLContext.
| const boost::optional< ID_t > & libetonyek::IWORKXMLContextEmpty::getId | ( | ) | const [protected] |
| const boost::optional< ID_t > & libetonyek::IWORKXMLContextEmpty::getRef | ( | ) | const [protected] |
| void libetonyek::IWORKXMLContextEmpty::text | ( | const char * | value | ) | [protected, virtual] |
Process textual content of an element.
This function can be called more than once if the element has mixed content.
Implements libetonyek::IWORKXMLContext.
boost::optional<ID_t> libetonyek::IWORKXMLContextEmpty::m_id [private] |
Referenced by attribute(), and getId().
boost::optional<ID_t> libetonyek::IWORKXMLContextEmpty::m_ref [private] |
Referenced by attribute(), and getRef().