00001 /* 00002 * Licensed to the Apache Software Foundation (ASF) under one 00003 * or more contributor license agreements. See the NOTICE file 00004 * distributed with this work for additional information 00005 * regarding copyright ownership. The ASF licenses this file 00006 * to you under the Apache License, Version 2.0 (the "License"); 00007 * you may not use this file except in compliance with the License. 00008 * You may obtain a copy of the License at 00009 * 00010 * http://www.apache.org/licenses/LICENSE-2.0 00011 * 00012 * Unless required by applicable law or agreed to in writing, software 00013 * distributed under the License is distributed on an "AS IS" BASIS, 00014 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00015 * See the License for the specific language governing permissions and 00016 * limitations under the License. 00017 */ 00018 #if !defined(XOBJECTRESULTTREEFRAGPROXYTEXT_HEADER_GUARD_1357924680) 00019 #define XOBJECTRESULTTREEFRAGPROXYTEXT_HEADER_GUARD_1357924680 00020 00021 00022 00023 #include <xalanc/XPath/XPathDefinitions.hpp> 00024 00025 00026 #include <xalanc/Include/XalanMemoryManagement.hpp> 00027 00028 00029 #include <xalanc/XalanDOM/XalanText.hpp> 00030 00031 00032 00033 XALAN_CPP_NAMESPACE_BEGIN 00034 00035 00036 00037 class XPathExecutionContext; 00038 class XObject; 00039 00040 00041 00042 class XALAN_XPATH_EXPORT XObjectResultTreeFragProxyText : public XalanText 00043 { 00044 public: 00045 00046 /** 00047 * Perform static initialization. See class XPathInit. 00048 */ 00049 static void 00050 initialize(MemoryManager& theManager); 00051 00052 /** 00053 * Perform static shut down. See class XPathInit. 00054 */ 00055 static void 00056 terminate(); 00057 00058 /** 00059 * Constructor. 00060 * 00061 * @param theXObject The XObject instance for which this is a proxy. 00062 * @param theManager The MemoryManager for this instance. 00063 * @param theExecutionContext An optional XPathExecutionContext instance. 00064 */ 00065 XObjectResultTreeFragProxyText( 00066 const XObject& theXObject, 00067 MemoryManager& theManager, 00068 XPathExecutionContext* theExecutionContext); 00069 00070 virtual 00071 ~XObjectResultTreeFragProxyText(); 00072 00073 MemoryManager& 00074 getMemoryManager() 00075 { 00076 return m_memoryManager; 00077 } 00078 00079 XPathExecutionContext* 00080 getExecutionContext() 00081 { 00082 return m_executionContext; 00083 } 00084 00085 // These interfaces are inherited from XalanText... 00086 virtual const XalanDOMString& 00087 getNodeName() const; 00088 00089 virtual const XalanDOMString& 00090 getNodeValue() const; 00091 00092 virtual NodeType 00093 getNodeType() const; 00094 00095 virtual XalanNode* 00096 getParentNode() const; 00097 00098 virtual const XalanNodeList* 00099 getChildNodes() const; 00100 00101 virtual XalanNode* 00102 getFirstChild() const; 00103 00104 virtual XalanNode* 00105 getLastChild() const; 00106 00107 virtual XalanNode* 00108 getPreviousSibling() const; 00109 00110 virtual XalanNode* 00111 getNextSibling() const; 00112 00113 virtual const XalanNamedNodeMap* 00114 getAttributes() const; 00115 00116 virtual XalanDocument* 00117 getOwnerDocument() const; 00118 00119 virtual const XalanDOMString& 00120 getNamespaceURI() const; 00121 00122 virtual const XalanDOMString& 00123 getPrefix() const; 00124 00125 virtual const XalanDOMString& 00126 getLocalName() const; 00127 00128 virtual bool 00129 isIndexed() const; 00130 00131 virtual IndexType 00132 getIndex() const; 00133 00134 virtual const XalanDOMString& 00135 getData() const; 00136 00137 virtual bool 00138 isWhitespace() const; 00139 00140 private: 00141 00142 // Not implemented... 00143 XObjectResultTreeFragProxyText& 00144 operator=(const XObjectResultTreeFragProxyText& theSource); 00145 00146 bool 00147 operator==(const XObjectResultTreeFragProxyText& theRHS) const; 00148 00149 00150 // Data members... 00151 const XObject& m_value; 00152 00153 MemoryManager& m_memoryManager; 00154 00155 XPathExecutionContext* m_executionContext; 00156 00157 static const XalanDOMString& s_nameString; 00158 }; 00159 00160 00161 00162 XALAN_CPP_NAMESPACE_END 00163 00164 00165 00166 #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.11 |
|