#include <IWORKXMLContextBase.h>
Protected Member Functions | |
IWORKXMLContextEmpty (IWORKXMLParserState &) | |
void | attribute (int name, const char *value) override |
Process an attribute. | |
IWORKXMLContextPtr_t | element (int token) override |
Create a context for parsing a child element. | |
void | text (const char *value) override |
Process textual content of an element. | |
const boost::optional< ID_t > & | getId () const |
void | setId (const char *value) |
const boost::optional< ID_t > & | getRef () const |
![]() | |
IWORKXMLContextMinimal () | |
void | startOfElement () override |
Signalize the start of an element. | |
void | endOfElement () override |
Signalize the end of an element. | |
Private Attributes | |
boost::optional< ID_t > | m_id |
boost::optional< ID_t > | m_ref |
Additional Inherited Members | |
![]() | |
virtual | ~IWORKXMLContext ()=0 |
virtual void | CDATA (const char *value) |
Process CDATA content of an element. | |
|
explicitprotected |
|
overrideprotectedvirtual |
Process an attribute.
Attributes are fed to the current element's context one by one.
Implements libetonyek::IWORKXMLContext.
|
overrideprotectedvirtual |
Create a context for parsing a child element.
Implements libetonyek::IWORKXMLContext.
|
protected |
Referenced by libetonyek::IWORKDataElement::attribute(), libetonyek::IWORKTextLabelElement::attribute(), libetonyek::IWORKBezierElement::endOfElement(), libetonyek::IWORKCoreImageFilterDescriptorElement::endOfElement(), libetonyek::IWORKDataElement::endOfElement(), libetonyek::IWORKDateTimeFormatElement::endOfElement(), libetonyek::IWORKDurationFormatElement::endOfElement(), libetonyek::IWORKListLabelGeometryElement::endOfElement(), libetonyek::IWORKNumberFormatElement::endOfElement(), and libetonyek::IWORKTextLabelElement::endOfElement().
|
protected |
|
protected |
|
overrideprotectedvirtual |
Process textual content of an element.
This function can be called more than once if the element has mixed content.
Implements libetonyek::IWORKXMLContext.
|
private |
Referenced by attribute(), getId(), IWORKXMLContextEmpty(), and setId().
|
private |
Referenced by attribute(), getRef(), and IWORKXMLContextEmpty().