Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

XalanDocumentPrefixResolver.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(XALANDOCUMENTPREFIXRESOLVER_HEADER_GUARD_1357924680)
17 #define XALANDOCUMENTPREFIXRESOLVER_HEADER_GUARD_1357924680
18 
19 
20 
21 // Base include file. Must be first.
23 
24 
25 
27 
28 
29 
32 
33 
34 
38 
39 
40 
42 
43 
44 
45 XALAN_CPP_NAMESPACE_BEGIN
46 
47 
48 
49 
50 
51 class XalanAttr;
53 
56 
57 
59 {
60 public:
61 
63  typedef XalanMap<const XalanDOMString*,
64  AttributeVectorType> NamespacesMapType;
65 
73  const XalanDocument* theDocument,
74  const XalanDOMString& theURI = XalanDOMString(XalanMemMgrs::getDummyMemMgr()),
76 
77  virtual
79 
80 
81  virtual const XalanDOMString*
82  getNamespaceForPrefix(const XalanDOMString& prefix) const;
83 
84  virtual const XalanDOMString&
85  getURI() const;
86 
91  {
92  public:
93 
94  NamespaceNodesTreeWalker(NamespacesMapType& theMap);
95 
96  virtual
98 
99  protected:
100 
101  virtual bool
102  startNode(const XalanNode* node);
103 
104  virtual bool
105  startNode(XalanNode* node);
106 
107  virtual bool
108  endNode(const XalanNode* node);
109 
110  virtual bool
111  endNode(XalanNode* node);
112 
113  private:
114 
115  NamespacesMapType& m_map;
116  };
117 
118 
119 protected:
120 
129  virtual const XalanDOMString*
130  duplicateBinding(const AttributeVectorType& theVector) const;
131 
132 private:
133 
134  NamespacesMapType m_namespaces;
135 
136  const XalanDOMString m_uri;
137 };
138 
139 
140 
141 XALAN_CPP_NAMESPACE_END
142 
143 
144 
145 #endif // XALANDOCUMENTPREFIXRESOLVER_HEADER_GUARD_1357924680

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