Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

XObjectTypeCallback.hpp
Go to the documentation of this file.
1 /*
2  * Copyright 1999-2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 #if !defined(XOBJECT_TYPE_CALLBACK_HEADER_GUARD_1357924680)
17 #define XOBJECT_TYPE_CALLBACK_HEADER_GUARD_1357924680
18 
19 
20 
21 // Base header file. Must be first.
23 
24 
25 
26 // $$$ ToDo: This is necessarh while XalanDOMString is a typedef...
28 
29 
30 
31 
32 XALAN_CPP_NAMESPACE_BEGIN
33 
34 
35 
36 class MutableNodeRefList;
37 class NodeRefListBase;
39 class XObject;
40 
41 
42 
52 {
53 public:
54 
56 
57  virtual
59 
66  virtual void
67  Number(const XObject& theXObject,
68  double theValue) = 0;
69 
76  virtual void
77  Boolean(const XObject& theXObject,
78  bool theValue) = 0;
79 
86  virtual void
87  String(const XObject& theXObject,
88  const XalanDOMString& theValue) = 0;
89 
96  virtual void
97  ResultTreeFragment(const XObject& theXObject,
98  const XalanDocumentFragment& theValue) = 0;
99 
106  virtual void
107  ResultTreeFragment(const XObject& theXObject,
108  XalanDocumentFragment& theValue) = 0;
109 
116  virtual void
117  NodeSet(const XObject& theXObject,
118  const NodeRefListBase& theValue) = 0;
119 
126  virtual void
127  Unknown(const XObject& theObject,
128  const XalanDOMString& theName) = 0;
129 
136  virtual void
137  Null(const XObject& theObject) = 0;
138 
141  {
142  return m_memoryManager;
143  }
144 private:
145  MemoryManagerType& m_memoryManager;
146 };
147 
148 
149 
150 XALAN_CPP_NAMESPACE_END
151 
152 
153 
154 #endif // XOBJECT_TYPE_CALLBACK_HEADER_GUARD_1357924680
The purpose of this class is to provide a way to get the "preferred" or closest matching type for XOb...
Definition: XObjectTypeCallback.hpp:51
Local implementation of MutableNodeRefList.
Definition: MutableNodeRefList.hpp:44
XALAN_CPP_NAMESPACE_BEGIN typedef XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager MemoryManagerType
Definition: XalanMemoryManagement.hpp:39
MemoryManagerType & getMemoryManager()
Definition: XObjectTypeCallback.hpp:140
Definition: XalanDocumentFragment.hpp:38
Local implementation of NodeRefList.
Definition: NodeRefListBase.hpp:42
Class to hold XPath return types.
Definition: XObject.hpp:61
Definition: XalanDOMString.hpp:42
#define XALAN_XPATH_EXPORT
Definition: XPathDefinitions.hpp:33

Interpreting class diagrams

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

dot

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

Apache Logo