29#ifndef __NCML_MODULE__OTHER_XML_PARSER_H__
30#define __NCML_MODULE__OTHER_XML_PARSER_H__
47class OtherXMLParser:
public SaxParser {
50 explicit OtherXMLParser(
const OtherXMLParser& proto);
51 OtherXMLParser& operator=(
const OtherXMLParser& rhs);
55 virtual ~OtherXMLParser();
73 virtual void onStartDocument();
74 virtual void onEndDocument();
85 const std::string& uri);
96 void appendOpenStartElementTag(
const std::string& localname,
const std::string& prefix);
105 void appendCloseStartElementTag();
108 void appendEndElementTag(
const string& qname);
120 std::string _otherXML;
virtual void onStartElementWithNamespace(const std::string &localname, const std::string &prefix, const std::string &uri, const XMLAttributeMap &attributes, const XMLNamespaceMap &namespaces)
const std::string & getString() const
virtual void onParseWarning(std::string msg)
virtual void onParseError(std::string msg)
int getParseDepth() const
virtual void onEndElement(const std::string &name)
virtual void onStartElement(const std::string &name, const XMLAttributeMap &attrs)
virtual void onCharacters(const std::string &content)
virtual void onEndElementWithNamespace(const std::string &localname, const std::string &prefix, const std::string &uri)
NcML Parser for adding/modifying/removing metadata (attributes) to existing local datasets using NcML...