29#ifndef __NCML_MODULE__ATTRIBUTE_ELEMENT_H__
30#define __NCML_MODULE__ATTRIBUTE_ELEMENT_H__
32#include "NCMLElement.h"
65 virtual void handleContent(
const string& content);
71 static const string _sTypeName;
72 static const vector<string> _sValidAttributes;
73 static const string _default_global_container;
126 void processAttributeContainerAtCurrentScope(
NCMLParser& p);
132 void processAtomicAttributeAtCurrentScope(
NCMLParser& p);
135 string getInternalType()
const;
152 void mutateAttributeAtCurrentScope(
NCMLParser& p,
const string& name,
const string& type,
const string& value);
175 libdap::AttrTable* renameAttributeContainer(
NCMLParser& p);
190 static vector<string> getValidAttributes();
200 vector<string> _tokens;
Concrete class for NcML <attribute> element.
virtual void handleBegin()
virtual AttributeElement * clone() const
virtual const string & getTypeName() const
virtual void setAttributes(const XMLAttributeMap &attrs)
virtual string toString() const
Base class for NcML element concrete classes.
NcML Parser for adding/modifying/removing metadata (attributes) to existing local datasets using NcML...