Added built-in ID attribute support to base classes.
[shibboleth/cpp-xmltooling.git] / xmltooling / XMLObject.h
index ed750ce..21715e9 100644 (file)
@@ -104,6 +104,13 @@ namespace xmltooling {
         virtual const QName* getSchemaType() const=0;\r
         \r
         /**\r
+         * Gets the value of the ID attribute set on this object, if any.\r
+         * \r
+         * @return an ID value or NULL \r
+         */\r
+        virtual const XMLCh* getXMLID() const=0;\r
+        \r
+        /**\r
          * Checks to see if this object has a parent.\r
          * \r
          * @return true if the object has a parent, false if not\r