Handle IDness during (un)marshalling, move more work to base class.
[shibboleth/cpp-xmltooling.git] / xmltooling / AbstractAttributeExtensibleXMLObject.h
index e2e65ea..9480cff 100644 (file)
@@ -67,6 +67,21 @@ namespace xmltooling {
         /** Copy constructor. */\r
         AbstractAttributeExtensibleXMLObject(const AbstractAttributeExtensibleXMLObject& src);\r
 \r
+        /**\r
+         * Assists in the unmarshalling of extension attributes.\r
+         * \r
+         * @param attribute the DOM attribute node being unmarshalled\r
+         */\r
+        void unmarshallExtensionAttribute(const DOMAttr* attribute);\r
+\r
+        /**\r
+         * Assists in the marshalling of extension attributes.\r
+         * \r
+         * @param domElement    the DOM element against which to marshall the attributes\r
+         */\r
+        void marshallExtensionAttributes(DOMElement* domElement) const;\r
+    \r
+    private:\r
         /** Map of arbitrary attributes. */\r
         std::map<QName,XMLCh*> m_attributeMap;\r
         \r