Xalan-C++ API Reference
1.12.0
xalanc
XSLT
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
namespace
XALAN_CPP_NAMESPACE
{
33
34
35
36
class
PrefixResolver;
37
class
StylesheetConstructionContext;
38
39
40
41
class
XalanSpaceNodeTester
:
public
XPath::NodeTester
42
{
43
public
:
44
45
typedef
XPath::NodeTester
ParentType
;
46
47
enum
eType
48
{
49
eStrip
,
50
ePreserve
51
};
52
53
XalanSpaceNodeTester
();
54
55
XalanSpaceNodeTester
(
const
XalanSpaceNodeTester
& theSource);
56
57
XalanSpaceNodeTester
(
58
eType theType,
59
StylesheetConstructionContext
& theContext,
60
const
XalanDOMString
& theNameTest,
61
const
PrefixResolver
& thePrefixResolver,
62
const
Locator* theLocator);
63
64
~
XalanSpaceNodeTester
();
65
66
XPath::eMatchScore
67
getMatchScore
()
const
68
{
69
return
m_matchScore;
70
}
71
72
eType
73
getType
()
const
74
{
75
return
m_type;
76
}
77
78
XalanSpaceNodeTester
&
79
operator=
(
const
XalanSpaceNodeTester
& theRHS)
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
}
99
100
101
102
#endif // !defined(XALAN_SPACENODETESTER_HEADER_GUARD_1357924680)
xalanc::XalanSpaceNodeTester::eType
eType
Definition:
XalanSpaceNodeTester.hpp:47
xalanc::XPath::NodeTester
Definition:
XPath.hpp:1032
XALAN_CPP_NAMESPACE
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
Definition:
XalanVersion.hpp:76
xalanc::XalanSpaceNodeTester::getType
eType getType() const
Definition:
XalanSpaceNodeTester.hpp:73
xalanc::XalanSpaceNodeTester::operator=
XalanSpaceNodeTester & operator=(const XalanSpaceNodeTester &theRHS)
Definition:
XalanSpaceNodeTester.hpp:79
xalanc::XalanSpaceNodeTester::eStrip
@ eStrip
Definition:
XalanSpaceNodeTester.hpp:49
xalanc::StylesheetConstructionContext
Definition:
StylesheetConstructionContext.hpp:83
xalanc::PrefixResolver
This class defines an interface for classes that resolve namespace prefixes to their URIs.
Definition:
PrefixResolver.hpp:39
xalanc::XPath::eMatchScore
eMatchScore
Definition:
XPath.hpp:89
xalanc::XalanSpaceNodeTester::ParentType
XPath::NodeTester ParentType
Definition:
XalanSpaceNodeTester.hpp:45
XPath.hpp
XSLTDefinitions.hpp
xalanc::XalanSpaceNodeTester::getMatchScore
XPath::eMatchScore getMatchScore() const
Definition:
XalanSpaceNodeTester.hpp:67
xalanc::XalanSpaceNodeTester
Definition:
XalanSpaceNodeTester.hpp:41
xalanc::XalanDOMString
Definition:
XalanDOMString.hpp:45
Copyright © 1999-2020 The Apache Software Foundation. All Rights Reserved.
Generated on Sun May 31 2020 10:37:22 for Xalan-C++ API Reference by
1.8.17