Moved DOM methods up the tree, add copy c'tors, KeyInfo sample
[shibboleth/xmltooling.git] / xmltooling / validation / Validator.h
index 0734030..6962bb8 100644 (file)
@@ -55,6 +55,13 @@ namespace xmltooling {
         virtual void validate(const XMLObject* xmlObject) const=0;\r
 \r
         /**\r
+         * Returns a copy of the validator.\r
+         *\r
+         * @return the new validator\r
+         */\r
+        virtual Validator* clone() const=0;\r
+\r
+        /**\r
          * Evaluates the registered validators against the given XMLObject and it's children.\r
          * \r
          * @param xmlObject the XMLObject tree to validate\r