Xalan-C++ API Reference  1.12.0
XercesWrapperToXalanNodeMap.hpp
Go to the documentation of this file.
1 /*
2  * Licensed to the Apache Software Foundation (ASF) under one
3  * or more contributor license agreements. See the NOTICE file
4  * distributed with this work for additional information
5  * regarding copyright ownership. The ASF licenses this file
6  * to you under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  */
18 #if !defined(XERCESWRAPPERTOXALANNODEMAP_HEADER_GUARD_1357924680)
19 #define XERCESWRAPPERTOXALANNODEMAP_HEADER_GUARD_1357924680
20 
21 
22 
24 
25 
26 
28 
29 
30 
32 
33 
34 
35 namespace XALAN_CPP_NAMESPACE {
36 
37 
38 
39 class XalanNode;
40 
41 
42 
44 {
45 public:
46 
47 
49 
50 
51  XercesWrapperToXalanNodeMap(MemoryManager& theManager);
52 
54 
55  MemoryManager&
57  {
58  return m_xercesMap.getMemoryManager();
59  }
60 
61  void
63  const DOMNodeType* theXercesNode,
64  XalanNode* theXalanNode);
65 
66  void
67  clear();
68 
69  XalanNode*
70  getNode(const DOMNodeType* theXercesNode) const;
71 
72 private:
73 
74  XercesNodeMapType m_xercesMap;
75 };
76 
77 
78 
79 }
80 
81 
82 
83 #endif // !defined(XERCESWRAPPERTOXALANNODEMAP_HEADER_GUARD_1357924680)
xalanc::XercesWrapperToXalanNodeMap::clear
void clear()
xalanc::XercesWrapperToXalanNodeMap::XercesNodeMapType
XalanMap< const DOMNodeType *, XalanNode * > XercesNodeMapType
Definition: XercesWrapperToXalanNodeMap.hpp:48
xalanc::XercesWrapperToXalanNodeMap::~XercesWrapperToXalanNodeMap
~XercesWrapperToXalanNodeMap()
XALAN_CPP_NAMESPACE
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
Definition: XalanVersion.hpp:76
xalanc::XalanNode
Definition: XalanNode.hpp:39
xalanc::XercesWrapperToXalanNodeMap::getMemoryManager
MemoryManager & getMemoryManager()
Definition: XercesWrapperToXalanNodeMap.hpp:56
XercesParserLiaisonDefinitions.hpp
xalanc::DOMNodeType
xercesc::DOMNode DOMNodeType
Definition: XercesWrapperTypes.hpp:68
xalanc::XercesWrapperToXalanNodeMap::addAssociation
void addAssociation(const DOMNodeType *theXercesNode, XalanNode *theXalanNode)
xalanc::XercesWrapperToXalanNodeMap::getNode
XalanNode * getNode(const DOMNodeType *theXercesNode) const
XALAN_XERCESPARSERLIAISON_EXPORT
#define XALAN_XERCESPARSERLIAISON_EXPORT
Definition: XercesParserLiaisonDefinitions.hpp:39
xalanc::XalanMap< const DOMNodeType *, XalanNode * >
XalanMap.hpp
xalanc::XercesWrapperToXalanNodeMap
Definition: XercesWrapperToXalanNodeMap.hpp:44
XercesWrapperTypes.hpp
xalanc::XercesWrapperToXalanNodeMap::XercesWrapperToXalanNodeMap
XercesWrapperToXalanNodeMap(MemoryManager &theManager)