#include <OXMLi_Namespace_Common.h>
Public Member Functions | |
OXMLi_Namespace_Common () | |
virtual | ~OXMLi_Namespace_Common () |
void | reset () |
void | addNamespace (const char *ns, char *uri) |
std::string | processName (const char *name) |
std::map< std::string, std::string > * | processAttributes (const char *tag, const char **attributes) |
Private Attributes | |
std::map< std::string, std::string > | m_nsToURI |
std::map< std::string, std::string > | m_uriToKey |
std::map< std::string, std::string > | m_attsMap |
OXMLi_Namespace_Common::OXMLi_Namespace_Common | ( | ) |
References reset().
OXMLi_Namespace_Common::~OXMLi_Namespace_Common | ( | ) | [virtual] |
void OXMLi_Namespace_Common::addNamespace | ( | const char * | ns, | |
char * | uri | |||
) |
References m_nsToURI, szName, and UT_DEBUGMSG.
std::map< std::string, std::string > * OXMLi_Namespace_Common::processAttributes | ( | const char * | tag, | |
const char ** | attributes | |||
) |
References m_attsMap, m_nsToURI, m_uriToKey, and UT_DEBUGMSG.
Referenced by OXMLi_StreamListener::startElement().
std::string OXMLi_Namespace_Common::processName | ( | const char * | name | ) |
References m_nsToURI, m_uriToKey, and UT_DEBUGMSG.
Referenced by OXMLi_StreamListener::endElement(), and OXMLi_StreamListener::startElement().
void OXMLi_Namespace_Common::reset | ( | ) |
References m_attsMap, m_nsToURI, m_uriToKey, NS_A_KEY, NS_A_URI, NS_M_KEY, NS_M_URI, NS_O_KEY, NS_O_URI, NS_PIC_KEY, NS_PIC_URI, NS_R_KEY, NS_R_URI, NS_V_KEY, NS_V_URI, NS_VE_KEY, NS_VE_URI, NS_W10_KEY, NS_W10_URI, NS_W_KEY, NS_W_URI, NS_WNE_KEY, NS_WNE_URI, NS_WP_KEY, NS_WP_URI, NS_WX_KEY, NS_WX_URI, NS_XML_KEY, and NS_XML_URI.
Referenced by OXMLi_Namespace_Common(), and OXMLi_StreamListener::setupStates().
std::map<std::string, std::string> OXMLi_Namespace_Common::m_attsMap [private] |
Referenced by processAttributes(), and reset().
std::map<std::string, std::string> OXMLi_Namespace_Common::m_nsToURI [private] |
Referenced by addNamespace(), processAttributes(), processName(), and reset().
std::map<std::string, std::string> OXMLi_Namespace_Common::m_uriToKey [private] |
Referenced by processAttributes(), processName(), and reset().