Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

XPathProcessor.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(XPATHPROCESSOR_HEADER_GUARD_1357924680)
17 #define XPATHPROCESSOR_HEADER_GUARD_1357924680
18 
19 
20 
21 // Base include file. Must be first.
23 
24 
25 
26 // $$$ ToDo: This is necessary while XalanDOMString is still a typedef...
28 
29 
30 
31 
32 XALAN_DECLARE_XERCES_CLASS(Locator)
33 
34 
35 
36 XALAN_CPP_NAMESPACE_BEGIN
37 
38 
39 
40 class Function;
41 class PrefixResolver;
42 class XPath;
44 
45 
46 
48 {
49 public:
50 
51  typedef XERCES_CPP_NAMESPACE_QUALIFIER Locator LocatorType;
52 
53  explicit
54  XPathProcessor();
55 
56  virtual
57  ~XPathProcessor();
58 
71  virtual void
72  initXPath(
73  XPath& pathObj,
74  XPathConstructionContext& constructionContext,
75  const XalanDOMString& expression,
76  const PrefixResolver& resolver,
77  const LocatorType* locator = 0,
78  bool allowVariableReferences = true,
79  bool allowKeyFunction = true) = 0;
80 
92  virtual void
93  initMatchPattern(
94  XPath& pathObj,
95  XPathConstructionContext& constructionContext,
96  const XalanDOMString& expression,
97  const PrefixResolver& resolver,
98  const LocatorType* locator = 0,
99  bool allowVariableReferences = true,
100  bool allowKeyFunction = true) = 0;
101 
109  static void
110  installFunction(
111  const XalanDOMString& theFunctionName,
112  const Function& theFunction);
113 };
114 
115 
116 
117 XALAN_CPP_NAMESPACE_END
118 
119 
120 
121 #endif // XPATHPROCESSOR_HEADER_GUARD_1357924680
Definition: Function.hpp:52
XERCES_CPP_NAMESPACE_QUALIFIER Locator LocatorType
Definition: XPathProcessor.hpp:51
Definition: XPathConstructionContext.hpp:54
Definition: XPath.hpp:62
This class defines an interface for classes that resolve namespace prefixes to their URIs...
Definition: PrefixResolver.hpp:37
Definition: XPathProcessor.hpp:47
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