Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.8

Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

XResultTreeFrag.hpp

Go to the documentation of this file.
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(XRESULTTREEFRAG_HEADER_GUARD_1357924680) 00017 #define XRESULTTREEFRAG_HEADER_GUARD_1357924680 00018 00019 00020 00021 // Base header file. Must be first. 00022 #include <xalanc/XSLT/XSLTDefinitions.hpp> 00023 00024 00025 00026 #include <xalanc/XalanDOM/XalanDOMString.hpp> 00027 00028 00029 00030 #if defined(XALAN_AUTO_PTR_REQUIRES_DEFINITION) 00031 #include <xalanc/XPath/ResultTreeFragBase.hpp> 00032 #endif 00033 00034 00035 00036 #include <xalanc/Include/XalanAutoPtr.hpp> 00037 00038 00039 00040 // Base class header file. 00041 #include <xalanc/XPath/NodeRefListBase.hpp> 00042 #include <xalanc/XPath/XObject.hpp> 00043 00044 00045 00046 #include <xalanc/XSLT/StylesheetExecutionContext.hpp> 00047 00048 00049 00050 XALAN_CPP_NAMESPACE_BEGIN 00051 00052 00053 00054 class ResultTreeFrag; 00055 00056 00057 00058 class XALAN_XSLT_EXPORT XResultTreeFrag : public XObject 00059 { 00060 public: 00061 00062 typedef XObject ParentType; 00063 00064 00070 XResultTreeFrag(XalanDocumentFragment& value); 00071 00078 XResultTreeFrag( 00079 const XResultTreeFrag& source, 00080 bool deepClone = false); 00081 00082 virtual 00083 ~XResultTreeFrag(); 00084 00085 00086 void 00087 setExecutionContext(StylesheetExecutionContext* theExecutionContext) 00088 { 00089 m_executionContext = theExecutionContext; 00090 } 00091 00092 // These methods are inherited from XObject ... 00093 00094 #if defined(XALAN_NO_COVARIANT_RETURN_TYPE) 00095 virtual XObject* 00096 #else 00097 virtual XResultTreeFrag* 00098 #endif 00099 clone(void* theAddress = 0) const; 00100 00101 virtual XalanDOMString 00102 getTypeString() const; 00103 00104 virtual double 00105 num() const; 00106 00107 virtual bool 00108 boolean() const; 00109 00110 virtual const XalanDOMString& 00111 str() const; 00112 00113 virtual void 00114 str( 00115 FormatterListener& formatterListener, 00116 MemberFunctionPtr function) const; 00117 00118 virtual void 00119 str(XalanDOMString& theBuffer) const; 00120 00121 virtual double 00122 stringLength() const; 00123 00124 virtual const XalanDocumentFragment& 00125 rtree() const; 00126 00127 virtual const NodeRefListBase& 00128 nodeset() const; 00129 00130 virtual void 00131 ProcessXObjectTypeCallback(XObjectTypeCallback& theCallbackObject); 00132 00133 virtual void 00134 ProcessXObjectTypeCallback(XObjectTypeCallback& theCallbackObject) const; 00135 00139 XalanDocumentFragment* 00140 release(); 00141 00147 void 00148 set(XalanDocumentFragment& theValue); 00149 00150 protected: 00151 00152 virtual void 00153 dereferenced(); 00154 00155 private: 00156 00157 // Data members... 00158 XalanDocumentFragment* m_value; 00159 00160 const XalanDOMString* m_singleTextChildValue; 00161 00162 StylesheetExecutionContext* m_executionContext; 00163 00164 mutable XalanDOMString m_cachedStringValue; 00165 00166 mutable double m_cachedNumberValue; 00167 }; 00168 00169 00170 00171 XALAN_CPP_NAMESPACE_END 00172 00173 00174 00175 #endif // XRESULTTREEFRAG_HEADER_GUARD_1357924680

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

Xalan-C++ XSLT Processor Version 1.8
Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.