00001 #ifndef DOMXPathNamespace_HEADER_GUARD_ 00002 #define DOMXPathNamespace_HEADER_GUARD_ 00003 00004 /* 00005 * Copyright 2001-2004 The Apache Software Foundation. 00006 * 00007 * Licensed under the Apache License, Version 2.0 (the "License"); 00008 * you may not use this file except in compliance with the License. 00009 * You may obtain a copy of the License at 00010 * 00011 * http://www.apache.org/licenses/LICENSE-2.0 00012 * 00013 * Unless required by applicable law or agreed to in writing, software 00014 * distributed under the License is distributed on an "AS IS" BASIS, 00015 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00016 * See the License for the specific language governing permissions and 00017 * limitations under the License. 00018 */ 00019 00020 #include <xercesc/dom/DOMNode.hpp> 00021 00022 XERCES_CPP_NAMESPACE_BEGIN 00023 00024 class DOMElement; 00025 00050 class CDOM_EXPORT DOMXPathNamespace : public DOMNode 00051 { 00052 00053 protected: 00054 // ----------------------------------------------------------------------- 00055 // Hidden constructors 00056 // ----------------------------------------------------------------------- 00059 DOMXPathNamespace() {}; 00061 00062 private: 00063 // ----------------------------------------------------------------------- 00064 // Unimplemented constructors and operators 00065 // ----------------------------------------------------------------------- 00068 DOMXPathNamespace(const DOMXPathNamespace &); 00069 DOMXPathNamespace& operator = (const DOMXPathNamespace&); 00071 00072 public: 00073 00074 00075 enum XPathNodeType { 00076 XPATH_NAMESPACE_NODE = 13 00077 }; 00078 00079 // ----------------------------------------------------------------------- 00080 // All constructors are hidden, just the destructor is available 00081 // ----------------------------------------------------------------------- 00088 virtual ~DOMXPathNamespace() {}; 00090 00091 // ----------------------------------------------------------------------- 00092 // Virtual DOMDocument interface 00093 // ----------------------------------------------------------------------- 00103 virtual DOMElement *getOwnerElement() const = 0; 00104 00106 }; 00107 00108 XERCES_CPP_NAMESPACE_END 00109 00110 #endif