Merge branch '1.x' of ssh://authdev.it.ohio-state.edu/~scantor/git/cpp-xmltooling...
[shibboleth/cpp-xmltooling.git] / xmltooling / io / AbstractXMLObjectUnmarshaller.h
index 9cf9046..8f3ee27 100644 (file)
@@ -1,21 +1,25 @@
-/*
-*  Copyright 2001-2006 Internet2
- * 
-* Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+/**
+ * Licensed to the University Corporation for Advanced Internet
+ * Development, Inc. (UCAID) under one or more contributor license
+ * agreements. See the NOTICE file distributed with this work for
+ * additional information regarding copyright ownership.
+ *
+ * UCAID licenses this file to you under the Apache License,
+ * Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License. You may obtain a copy of the
+ * License at
  *
- *     http://www.apache.org/licenses/LICENSE-2.0
+ * http://www.apache.org/licenses/LICENSE-2.0
  *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
+ * either express or implied. See the License for the specific
+ * language governing permissions and limitations under the License.
  */
 
 /**
- * @file AbstractXMLObjectUnmarshaller.h
+ * @file xmltooling/io/AbstractXMLObjectUnmarshaller.h
  * 
  * A mix-in to implement object unmarshalling.
  */
@@ -38,12 +42,12 @@ namespace xmltooling {
     class XMLTOOL_API AbstractXMLObjectUnmarshaller : public virtual AbstractXMLObject
     {
     public:
-        virtual ~AbstractXMLObjectUnmarshaller() {}
+        virtual ~AbstractXMLObjectUnmarshaller();
 
-        XMLObject* unmarshall(DOMElement* element, bool bindDocument=false);
+        XMLObject* unmarshall(xercesc::DOMElement* element, bool bindDocument=false);
             
     protected:
-        AbstractXMLObjectUnmarshaller() {}
+        AbstractXMLObjectUnmarshaller();
 
         /**
          * Unmarshalls the attributes from the given DOM Element into the XMLObject. If the attribute
@@ -55,7 +59,7 @@ namespace xmltooling {
          * 
          * @throws UnmarshallingException thrown if there is a problem unmarshalling an attribute
          */
-        virtual void unmarshallAttributes(const DOMElement* domElement);
+        virtual void unmarshallAttributes(const xercesc::DOMElement* domElement);
 
         /**
          * Unmarshalls a given Element's child nodes. The resulting XMLObject children and content
@@ -65,7 +69,7 @@ namespace xmltooling {
          * 
          * @throws UnmarshallingException thrown if an error occurs unmarshalling the child elements
          */
-        virtual void unmarshallContent(const DOMElement* domElement);
+        virtual void unmarshallContent(const xercesc::DOMElement* domElement);
 
         /**
          * Called after a child element has been unmarshalled so that it can be added to the parent XMLObject.
@@ -75,7 +79,7 @@ namespace xmltooling {
          * 
          * @throws UnmarshallingException thrown if there is a problem adding the child to the parent
          */
-        virtual void processChildElement(XMLObject* child, const DOMElement* childRoot);
+        virtual void processChildElement(XMLObject* child, const xercesc::DOMElement* childRoot);
     
         /**
          * Called after an attribute has been unmarshalled so that it can be added to the XMLObject.
@@ -84,7 +88,7 @@ namespace xmltooling {
          * 
          * @throws UnmarshallingException thrown if there is a problem adding the attribute to the XMLObject
          */
-        virtual void processAttribute(const DOMAttr* attribute);
+        virtual void processAttribute(const xercesc::DOMAttr* attribute);
     };
     
 };