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(XOBJECT_TYPE_CALLBACK_HEADER_GUARD_1357924680) 00017 #define XOBJECT_TYPE_CALLBACK_HEADER_GUARD_1357924680 00018 00019 00020 00021 // Base header file. Must be first. 00022 #include <xalanc/XPath/XPathDefinitions.hpp> 00023 00024 00025 00026 // $$$ ToDo: This is necessarh while XalanDOMString is a typedef... 00027 #include <xalanc/XalanDOM/XalanDOMString.hpp> 00028 00029 00030 00031 00032 XALAN_CPP_NAMESPACE_BEGIN 00033 00034 00035 00036 class MutableNodeRefList; 00037 class NodeRefListBase; 00038 class XalanDocumentFragment; 00039 class XObject; 00040 00041 00042 00051 class XALAN_XPATH_EXPORT XObjectTypeCallback 00052 { 00053 public: 00054 00055 XObjectTypeCallback(MemoryManagerType& theManager); 00056 00057 virtual 00058 ~XObjectTypeCallback(); 00059 00066 virtual void 00067 Number(const XObject& theXObject, 00068 double theValue) = 0; 00069 00076 virtual void 00077 Boolean(const XObject& theXObject, 00078 bool theValue) = 0; 00079 00086 virtual void 00087 String(const XObject& theXObject, 00088 const XalanDOMString& theValue) = 0; 00089 00096 virtual void 00097 ResultTreeFragment(const XObject& theXObject, 00098 const XalanDocumentFragment& theValue) = 0; 00099 00106 virtual void 00107 ResultTreeFragment(const XObject& theXObject, 00108 XalanDocumentFragment& theValue) = 0; 00109 00116 virtual void 00117 NodeSet(const XObject& theXObject, 00118 const NodeRefListBase& theValue) = 0; 00119 00126 virtual void 00127 Unknown(const XObject& theObject, 00128 const XalanDOMString& theName) = 0; 00129 00136 virtual void 00137 Null(const XObject& theObject) = 0; 00138 00139 MemoryManagerType& 00140 getMemoryManager() 00141 { 00142 return m_memoryManager; 00143 } 00144 private: 00145 MemoryManagerType& m_memoryManager; 00146 }; 00147 00148 00149 00150 XALAN_CPP_NAMESPACE_END 00151 00152 00153 00154 #endif // XOBJECT_TYPE_CALLBACK_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 |
|