Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


XalanSpaceNodeTester.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(XALAN_SPACENODETESTER_HEADER_GUARD_1357924680)
19 #define XALAN_SPACENODETESTER_HEADER_GUARD_1357924680
20 
21 
22 
23 // Base include file. Must be first.
24 #include "XSLTDefinitions.hpp"
25 
26 
27 
28 #include "xalanc/XPath/XPath.hpp"
29 
30 
31 
32 XALAN_CPP_NAMESPACE_BEGIN
33 
34 
35 
36 class PrefixResolver;
38 
39 
40 
42 {
43 public:
44 
46 
47  enum eType
48  {
51  };
52 
54 
56 
58  eType theType,
60  const XalanDOMString& theNameTest,
61  const PrefixResolver& thePrefixResolver,
62  const Locator* theLocator);
63 
65 
67  getMatchScore() const
68  {
69  return m_matchScore;
70  }
71 
72  eType
73  getType() const
74  {
75  return m_type;
76  }
77 
80  {
81  m_matchScore = theRHS.m_matchScore;
82  m_type = theRHS.m_type;
83 
84  ParentType::operator=(theRHS);
85 
86  return *this;
87  }
88 
89 private:
90 
91  XPath::eMatchScore m_matchScore;
92 
93  eType m_type;
94 };
95 
96 
97 
98 XALAN_CPP_NAMESPACE_END
99 
100 
101 
102 #endif // !defined(XALAN_SPACENODETESTER_HEADER_GUARD_1357924680)
eMatchScore
Definition: XPath.hpp:86
XPath::eMatchScore getMatchScore() const
XPath::NodeTester ParentType
This class defines an interface for classes that resolve namespace prefixes to their URIs...
NodeTester & operator=(const NodeTester &theRHS)
Definition: XPath.hpp:1073
XalanSpaceNodeTester & operator=(const XalanSpaceNodeTester &theRHS)

Interpreting class diagrams

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

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

Apache Logo