Added some validation code.
[shibboleth/cpp-xmltooling.git] / xmltooling / io / AbstractXMLObjectUnmarshaller.h
index 0853f15..be4e116 100644 (file)
@@ -75,7 +75,7 @@ namespace xmltooling {
          * \r
          * @throws UnmarshallingException thrown if there is a problem adding the child to the parent\r
          */\r
-        virtual void processChildElement(XMLObject* child, const DOMElement* childRoot)=0;\r
+        virtual void processChildElement(XMLObject* child, const DOMElement* childRoot) {}\r
     \r
         /**\r
          * Called after an attribute has been unmarshalled so that it can be added to the XMLObject.\r
@@ -84,14 +84,14 @@ namespace xmltooling {
          * \r
          * @throws UnmarshallingException thrown if there is a problem adding the attribute to the XMLObject\r
          */\r
-        virtual void processAttribute(const DOMAttr* attribute)=0;\r
+        virtual void processAttribute(const DOMAttr* attribute) {}\r
     \r
         /**\r
          * Called if the element being unmarshalled contained textual content so that it can be added to the XMLObject.\r
          * \r
          * @param elementContent the Element's text content\r
          */\r
-        virtual void processElementContent(const XMLCh* elementContent)=0;\r
+        virtual void processElementContent(const XMLCh* elementContent) {}\r
     };\r
     \r
 };\r