Add new builder base class to indicate support for "argument-less" construction.
[shibboleth/xmltooling.git] / xmltooling / AbstractSimpleElement.h
index b034533..461b1cc 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *  Copyright 2001-2006 Internet2
+ *  Copyright 2001-2007 Internet2
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -40,7 +40,7 @@ namespace xmltooling {
     {
     public:
         virtual ~AbstractSimpleElement() {
-            XMLString::release(&m_value);
+            xercesc::XMLString::release(&m_value);
         }
         
         bool hasChildren() const {
@@ -68,7 +68,7 @@ namespace xmltooling {
         
         /** Copy constructor. */
         AbstractSimpleElement(const AbstractSimpleElement& src)
-            : AbstractXMLObject(src), m_value(XMLString::replicate(src.m_value)) {}
+            : AbstractXMLObject(src), m_value(xercesc::XMLString::replicate(src.m_value)) {}
 
     private:
         XMLCh* m_value;