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

FunctionID.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(FUNCTIONID_HEADER_GUARD_1357924680) 00017 #define FUNCTIONID_HEADER_GUARD_1357924680 00018 00019 00020 00021 // Base header file. Must be first. 00022 #include <xalanc/XPath/XPathDefinitions.hpp> 00023 00024 00025 00026 #include <set> 00027 00028 00029 00030 #include <xalanc/XalanDOM/XalanElement.hpp> 00031 #include <xalanc/XalanDOM/XalanNode.hpp> 00032 #include <xalanc/XalanDOM/XalanDocument.hpp> 00033 00034 00035 00036 // Base class header files... 00037 #include <xalanc/XPath/Function.hpp> 00038 #include <xalanc/XPath/XObjectTypeCallback.hpp> 00039 00040 00041 00042 #include <xalanc/PlatformSupport/DOMStringHelper.hpp> 00043 #include <xalanc/PlatformSupport/StringTokenizer.hpp> 00044 00045 00046 00047 #include <xalanc/XPath/MutableNodeRefList.hpp> 00048 #include <xalanc/XPath/NodeRefListBase.hpp> 00049 00050 00051 00052 XALAN_CPP_NAMESPACE_BEGIN 00053 00054 00055 00059 class XALAN_XPATH_EXPORT FunctionID : public Function 00060 { 00061 public: 00062 00063 typedef Function ParentType; 00064 00065 FunctionID(); 00066 00067 virtual 00068 ~FunctionID(); 00069 00070 // These methods are inherited from Function ... 00071 00072 virtual XObjectPtr 00073 execute( 00074 XPathExecutionContext& executionContext, 00075 XalanNode* context, 00076 const XObjectPtr arg1, 00077 const LocatorType* locator) const; 00078 00079 #if !defined(XALAN_NO_USING_DECLARATION) 00080 using ParentType::execute; 00081 #endif 00082 00083 #if defined(XALAN_NO_COVARIANT_RETURN_TYPE) 00084 virtual Function* 00085 #else 00086 virtual FunctionID* 00087 #endif 00088 clone() const; 00089 00090 protected: 00091 00092 const XalanDOMString 00093 getError() const; 00094 00095 private: 00096 00097 class FunctionIDXObjectTypeCallback : public XObjectTypeCallback 00098 { 00099 public: 00100 00101 FunctionIDXObjectTypeCallback( 00102 XPathExecutionContext& theExecutionContext, 00103 XalanDOMString& theString); 00104 00105 void 00106 processCallback(const XObject& theXObject); 00107 00108 // These methods are inherited from XObjectTypeCallback ... 00109 00110 virtual void 00111 Number( 00112 const XObject& theXObject, 00113 double /* theValue */); 00114 00115 virtual void 00116 Boolean( 00117 const XObject& theXObject, 00118 bool /* theValue */); 00119 00120 virtual void 00121 String( 00122 const XObject& theXObject, 00123 const XalanDOMString& /* theValue */); 00124 00125 virtual void 00126 ResultTreeFragment( 00127 const XObject& theXObject, 00128 const XalanDocumentFragment& /* theValue */); 00129 00130 virtual void 00131 ResultTreeFragment( 00132 const XObject& theXObject, 00133 XalanDocumentFragment& /* theValue */); 00134 00135 virtual void 00136 NodeSet( 00137 const XObject& /* theXObject */, 00138 const NodeRefListBase& theValue); 00139 00140 virtual void 00141 Unknown( 00142 const XObject& /* theObject */, 00143 const XalanDOMString& /* theName */); 00144 00145 virtual void 00146 Null(const XObject& /* theObject */); 00147 00148 private: 00149 00150 XalanDOMString& m_resultString; 00151 00152 XPathExecutionContext& m_executionContext; 00153 }; 00154 00155 // Not implemented... 00156 FunctionID& 00157 operator=(const FunctionID&); 00158 00159 bool 00160 operator==(const FunctionID&) const; 00161 }; 00162 00163 00164 00165 XALAN_CPP_NAMESPACE_END 00166 00167 00168 00169 #endif // FUNCTIONID_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.