Set fourth file version digit to signify rebuild.
[shibboleth/cpp-xmltooling.git] / xmltooling / ElementProxy.h
index 874139b..d473817 100644 (file)
@@ -1,67 +1,49 @@
-/*\r
- *  Copyright 2001-2006 Internet2\r
- * \r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- *     http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- */\r
-\r
-/**\r
- * @file ElementProxy.h\r
- * \r
- * An XMLObject with an open content model \r
- */\r
-\r
-#if !defined(__xmltooling_eleproxy_h__)\r
-#define __xmltooling_eleproxy_h__\r
-\r
-#include <xmltooling/XMLObject.h>\r
-#include <xmltooling/util/XMLObjectChildrenList.h>\r
-\r
-using namespace xercesc;\r
-\r
-namespace xmltooling {\r
-\r
-    /**\r
-     * An XMLObject with an open content model.\r
-     */\r
-    class XMLTOOL_API ElementProxy : public virtual XMLObject\r
-    {\r
-    public:\r
-        ElementProxy() {}\r
-        virtual ~ElementProxy() {}\r
-        \r
-        /**\r
-         * Gets the text content of the object\r
-         * \r
-         * @return the text content, or NULL\r
-         */\r
-        virtual const XMLCh* getTextContent() const=0;\r
-        \r
-        /**\r
-         * Sets (or clears) the text content of the object \r
-         * \r
-         * @param value         value to set, or NULL to clear\r
-         */\r
-        virtual void setTextContent(const XMLCh* value)=0;\r
-        \r
-\r
-        /**\r
-         * Gets a mutable list of child objects\r
-         * \r
-         * @return  mutable list of child objects\r
-         */\r
-        virtual ListOf(XMLObject) getXMLObjects()=0;\r
-    };\r
-    \r
-};\r
-\r
-#endif /* __xmltooling_eleproxy_h__ */\r
+/**
+ * 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
+ *
+ * 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 xmltooling/ElementProxy.h
+ * 
+ * An XMLObject with an open content model 
+ */
+
+#ifndef __xmltooling_eleproxy_h__
+#define __xmltooling_eleproxy_h__
+
+#include <xmltooling/AttributeExtensibleXMLObject.h>
+#include <xmltooling/ElementExtensibleXMLObject.h>
+
+namespace xmltooling {
+
+    /**
+     * An XMLObject with an open content model.
+     */
+    class XMLTOOL_API ElementProxy : public virtual AttributeExtensibleXMLObject, public virtual ElementExtensibleXMLObject
+    {
+    protected:
+        ElementProxy();
+
+    public:
+        virtual ~ElementProxy();
+    };
+    
+};
+
+#endif /* __xmltooling_eleproxy_h__ */