-/*\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/SimpleElement.h>\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 SimpleElement\r
- {\r
- public:\r
- ElementProxy() {}\r
- virtual ~ElementProxy() {}\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
- * Gets an immutable list of child objects\r
- * \r
- * @return immutable list of child objects\r
- */\r
- virtual const std::list<XMLObject*>& getXMLObjects() const=0;\r
- };\r
- \r
-};\r
-\r
-#endif /* __xmltooling_eleproxy_h__ */\r
+/*
+ * 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.
+ * 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__ */