X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=xmltooling%2FAbstractAttributeExtensibleXMLObject.h;h=9480cffef689189a59d1630670db630dc001efe4;hb=1049ef61d090ab36da396b27bb98530aafc9df01;hp=e2e65ea66a91b7fe27b557a8b1c9430cdb47f2bf;hpb=c61580d5c20b1af1c8c7e30f8811aae322c30de2;p=shibboleth%2Fcpp-xmltooling.git diff --git a/xmltooling/AbstractAttributeExtensibleXMLObject.h b/xmltooling/AbstractAttributeExtensibleXMLObject.h index e2e65ea..9480cff 100644 --- a/xmltooling/AbstractAttributeExtensibleXMLObject.h +++ b/xmltooling/AbstractAttributeExtensibleXMLObject.h @@ -67,6 +67,21 @@ namespace xmltooling { /** Copy constructor. */ AbstractAttributeExtensibleXMLObject(const AbstractAttributeExtensibleXMLObject& src); + /** + * Assists in the unmarshalling of extension attributes. + * + * @param attribute the DOM attribute node being unmarshalled + */ + void unmarshallExtensionAttribute(const DOMAttr* attribute); + + /** + * Assists in the marshalling of extension attributes. + * + * @param domElement the DOM element against which to marshall the attributes + */ + void marshallExtensionAttributes(DOMElement* domElement) const; + + private: /** Map of arbitrary attributes. */ std::map m_attributeMap;