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(XOBJECTRESULTTREEFRAGPROXYTEXT_HEADER_GUARD_1357924680) 00017 #define XOBJECTRESULTTREEFRAGPROXYTEXT_HEADER_GUARD_1357924680 00018 00019 00020 00021 #include <xalanc/XPath/XPathDefinitions.hpp> 00022 00023 00024 #include <xalanc/Include/XalanMemoryManagement.hpp> 00025 00026 00027 #include <xalanc/XalanDOM/XalanText.hpp> 00028 00029 00030 00031 XALAN_CPP_NAMESPACE_BEGIN 00032 00033 00034 00035 class XObject; 00036 00037 00038 00039 class XALAN_XPATH_EXPORT XObjectResultTreeFragProxyText : public XalanText 00040 { 00041 public: 00042 00046 static void 00047 initialize(MemoryManagerType& theManager); 00048 00052 static void 00053 terminate(); 00054 00060 XObjectResultTreeFragProxyText(const XObject& theXObject, 00061 MemoryManagerType& theManager); 00062 00063 virtual 00064 ~XObjectResultTreeFragProxyText(); 00065 00066 MemoryManagerType& 00067 getMemoryManager() 00068 { 00069 return m_MemoryManager; 00070 } 00074 virtual const XalanDOMString& 00075 getNodeName() const; 00076 00080 virtual const XalanDOMString& 00081 getNodeValue() const; 00082 00086 virtual NodeType 00087 getNodeType() const; 00088 00098 virtual XalanNode* 00099 getParentNode() const; 00100 00114 virtual const XalanNodeList* 00115 getChildNodes() const; 00116 00122 virtual XalanNode* 00123 getFirstChild() const; 00124 00130 virtual XalanNode* 00131 getLastChild() const; 00132 00138 virtual XalanNode* 00139 getPreviousSibling() const; 00140 00146 virtual XalanNode* 00147 getNextSibling() const; 00148 00153 virtual const XalanNamedNodeMap* 00154 getAttributes() const; 00155 00165 virtual XalanDocument* 00166 getOwnerDocument() const; 00167 00169 00171 00190 #if defined(XALAN_NO_COVARIANT_RETURN_TYPE) 00191 virtual XalanNode* 00192 #else 00193 virtual XObjectResultTreeFragProxyText* 00194 #endif 00195 cloneNode(bool deep) const; 00196 00198 00200 00217 virtual XalanNode* 00218 insertBefore( 00219 XalanNode* newChild, 00220 XalanNode* refChild); 00221 00235 virtual XalanNode* 00236 replaceChild( 00237 XalanNode* newChild, 00238 XalanNode* oldChild); 00239 00247 virtual XalanNode* 00248 removeChild(XalanNode* oldChild); 00249 00261 virtual XalanNode* 00262 appendChild(XalanNode* newChild); 00263 00265 00267 00275 virtual bool 00276 hasChildNodes() const; 00277 00278 00280 00282 00283 00297 virtual void 00298 setNodeValue(const XalanDOMString& nodeValue); 00299 00301 00303 00320 virtual void 00321 normalize(); 00322 00336 virtual bool 00337 isSupported( 00338 const XalanDOMString& feature, 00339 const XalanDOMString& version) const; 00340 00354 virtual const XalanDOMString& 00355 getNamespaceURI() const; 00356 00361 virtual const XalanDOMString& 00362 getPrefix() const; 00363 00371 virtual const XalanDOMString& 00372 getLocalName() const; 00373 00403 virtual void 00404 setPrefix(const XalanDOMString& prefix); 00405 00406 virtual bool 00407 isIndexed() const; 00408 00409 virtual IndexType 00410 getIndex() const; 00411 00413 00414 // These interfaces are inherited from XalanCDATASection... 00415 00418 00434 virtual const XalanDOMString& 00435 getData() const; 00436 00444 virtual unsigned int 00445 getLength() const; 00446 00462 virtual XalanDOMString& 00463 substringData( 00464 unsigned int offset, 00465 unsigned int count, 00466 XalanDOMString& theResult) const; 00467 00469 00471 00480 virtual void 00481 appendData(const XalanDOMString& arg); 00482 00493 virtual void 00494 insertData( 00495 unsigned int offset, 00496 const XalanDOMString& arg); 00497 00514 virtual void 00515 deleteData( 00516 unsigned int offset, 00517 unsigned int count); 00518 00537 virtual void 00538 replaceData( 00539 unsigned int offset, 00540 unsigned int count, 00541 const XalanDOMString& arg); 00542 00544 00546 00548 00566 virtual XalanText* 00567 splitText(unsigned int offset); 00568 00570 00571 virtual bool 00572 isIgnorableWhitespace() const; 00573 00574 00575 private: 00576 00577 // Not implemented... 00578 XObjectResultTreeFragProxyText& 00579 operator=(const XObjectResultTreeFragProxyText& theSource); 00580 00581 bool 00582 operator==(const XObjectResultTreeFragProxyText& theRHS) const; 00583 00584 00585 // Data members... 00586 const XObject& m_value; 00587 00588 MemoryManagerType& m_MemoryManager; 00589 static const XalanDOMString& s_nameString; 00590 }; 00591 00592 00593 00594 XALAN_CPP_NAMESPACE_END 00595 00596 00597 00598 #endif // XOBJECTRESULTTREEFRAGPROXYTEXT_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 |
|