-/*
-* 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 thread-safe abstract unmarshaller.
+ * A mix-in to implement object unmarshalling.
*/
#ifndef __xmltooling_xmlunmarshaller_h__
namespace xmltooling {
/**
- * A thread-safe abstract unmarshaller.
+ * A mix-in to implement object unmarshalling.
*/
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
*
* @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
*
* @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.
*
* @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.
*
* @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);
};
};