Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

ElementPrefixResolverProxy.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(ELEMENTPREFIXRESOLVERPROXY_HEADER_GUARD_1357924680)
17 #define ELEMENTPREFIXRESOLVERPROXY_HEADER_GUARD_1357924680
18 
19 
20 
21 // Base include file. Must be first.
23 
24 
25 
27 
28 
29 
30 // Base class header file...
32 
33 
34 
35 XALAN_CPP_NAMESPACE_BEGIN
36 
37 
38 
39 class DOMSupport;
40 class XPathEnvSupport;
41 class XalanElement;
42 
43 
44 
46 {
47 public:
48 
59  const XalanElement* namespaceContext,
60  const XPathEnvSupport& envSupport,
61  const DOMSupport& domSupport,
63 
72  const XalanElement* namespaceContext,
73  MemoryManagerType& theManager XALAN_DEFAULT_MEMMGR,
74  const XPathEnvSupport* envSupport = 0);
75 
76  virtual
78 
79  // These methods are inherited from PrefixResolver ...
80 
81  virtual const XalanDOMString*
82  getNamespaceForPrefix(const XalanDOMString& prefix) const;
83 
84  virtual const XalanDOMString&
85  getURI() const;
86 
87 private:
88  //notimplemented
90 
91  const XalanElement* const m_namespaceContext;
92 
93  const XPathEnvSupport* const m_envSupport;
94 
95  mutable XalanDOMString m_uri;
96 };
97 
98 
99 
100 XALAN_CPP_NAMESPACE_END
101 
102 
103 
104 #endif // ELEMENTPREFIXRESOLVERPROXY_HEADER_GUARD_1357924680
XALAN_CPP_NAMESPACE_BEGIN typedef XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager MemoryManagerType
Definition: XalanMemoryManagement.hpp:39
Definition: DOMSupport.hpp:39
Definition: XalanElement.hpp:42
#define XALAN_DEFAULT_MEMMGR
Definition: XalanMemoryManagement.hpp:402
virtual const XalanDOMString & getURI() const =0
Retrieve the base URI for the resolver.
Definition: ElementPrefixResolverProxy.hpp:45
Definition: XPathEnvSupport.hpp:62
This class defines an interface for classes that resolve namespace prefixes to their URIs...
Definition: PrefixResolver.hpp:37
Definition: XalanDOMString.hpp:42
virtual const XalanDOMString * getNamespaceForPrefix(const XalanDOMString &prefix) const =0
Retrieve a namespace corresponding to a prefix.
#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