00001 /* 00002 * Copyright 1999-2004 The Apache Software Foundation. 00003 * 00004 * Licensed under the Apache License, Version 2.0 (the "License"); 00005 * you may not use this file except in compliance with the License. 00006 * You may obtain a copy of the License at 00007 * 00008 * http://www.apache.org/licenses/LICENSE-2.0 00009 * 00010 * Unless required by applicable law or agreed to in writing, software 00011 * distributed under the License is distributed on an "AS IS" BASIS, 00012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00013 * See the License for the specific language governing permissions and 00014 * limitations under the License. 00015 */ 00016 #if !defined(XOBJECTRESULTTREEFRAGPROXYBASE_HEADER_GUARD_1357924680) 00017 #define XOBJECTRESULTTREEFRAGPROXYBASE_HEADER_GUARD_1357924680 00018 00019 00020 00021 // Base include file. Must be first. 00022 #include <xalanc/XPath/XPathDefinitions.hpp> 00023 00024 #include <xalanc/Include/XalanMemoryManagement.hpp> 00025 00026 00027 #include <xalanc/XalanDOM/XalanNodeList.hpp> 00028 #include <xalanc/XalanDOM/XalanDocumentFragment.hpp> 00029 00030 00031 00032 #include <xalanc/XPath/XObjectResultTreeFragProxyText.hpp> 00033 00034 00035 00036 00037 XALAN_CPP_NAMESPACE_BEGIN 00038 00039 00040 00041 class XALAN_XPATH_EXPORT XObjectResultTreeFragProxyBase : public XalanDocumentFragment 00042 { 00043 public: 00044 00045 XObjectResultTreeFragProxyBase(); 00046 00047 virtual 00048 ~XObjectResultTreeFragProxyBase(); 00049 00050 00051 // These interfaces are inherited from XalanDocumentFragment... 00052 00053 virtual const XalanDOMString& 00054 getNodeName() const; 00055 00056 virtual const XalanDOMString& 00057 getNodeValue() const; 00058 00059 virtual NodeType 00060 getNodeType() const; 00061 00062 virtual XalanNode* 00063 getParentNode() const; 00064 00065 virtual const XalanNodeList* 00066 getChildNodes() const; 00067 00068 virtual XalanNode* 00069 getFirstChild() const = 0; 00070 00071 virtual XalanNode* 00072 getLastChild() const = 0; 00073 00074 virtual XalanNode* 00075 getPreviousSibling() const; 00076 00077 virtual XalanNode* 00078 getNextSibling() const; 00079 00080 virtual const XalanNamedNodeMap* 00081 getAttributes() const; 00082 00083 virtual XalanDocument* 00084 getOwnerDocument() const; 00085 00086 #if defined(XALAN_NO_COVARIANT_RETURN_TYPE) 00087 virtual XalanNode* 00088 #else 00089 virtual XObjectResultTreeFragProxyBase* 00090 #endif 00091 cloneNode(bool deep) const; 00092 00093 virtual XalanNode* 00094 insertBefore( 00095 XalanNode* newChild, 00096 XalanNode* refChild); 00097 00098 virtual XalanNode* 00099 replaceChild( 00100 XalanNode* newChild, 00101 XalanNode* oldChild); 00102 00103 virtual XalanNode* 00104 removeChild(XalanNode* oldChild); 00105 00106 virtual XalanNode* 00107 appendChild(XalanNode* newChild); 00108 00109 virtual bool 00110 hasChildNodes() const = 0; 00111 00112 virtual void 00113 setNodeValue(const XalanDOMString& nodeValue); 00114 00115 virtual void 00116 normalize(); 00117 00118 virtual bool 00119 isSupported( 00120 const XalanDOMString& feature, 00121 const XalanDOMString& version) const; 00122 00123 virtual const XalanDOMString& 00124 getNamespaceURI() const; 00125 00126 virtual const XalanDOMString& 00127 getPrefix() const; 00128 00129 virtual const XalanDOMString& 00130 getLocalName() const; 00131 00132 virtual void 00133 setPrefix(const XalanDOMString& prefix); 00134 00135 virtual bool 00136 isIndexed() const; 00137 00138 virtual IndexType 00139 getIndex() const; 00140 00141 #if defined(XALAN_NO_COVARIANT_RETURN_TYPE) 00142 virtual XalanDocumentFragment* 00143 #else 00144 virtual XObjectResultTreeFragProxyBase* 00145 #endif 00146 clone(bool deep) const; 00147 00148 protected: 00149 00150 XObjectResultTreeFragProxyBase(const XObjectResultTreeFragProxyBase& theRHS); 00151 00152 private: 00153 00154 // Not implemented... 00155 XObjectResultTreeFragProxyBase& 00156 operator=(const XObjectResultTreeFragProxyBase& theRHS); 00157 00158 bool 00159 operator==(const XObjectResultTreeFragProxyBase& theRHS); 00160 00161 00162 // Data members... 00163 static const XalanDOMString s_emptyString; 00164 }; 00165 00166 00167 00168 XALAN_CPP_NAMESPACE_END 00169 00170 00171 00172 #endif // XOBJECTRESULTTREEFRAGPROXYBASE_HEADER_GUARD_1357924680
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
Xalan-C++ XSLT Processor Version 1.10 |
|