Xalan-C++ API Reference
1.12.0
xalanc
PlatformSupport
XalanSimplePrefixResolver.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(XALANSIMPLEPREFIXRESOLVER_HEADER_GUARD_1357924680)
19
#define XALANSIMPLEPREFIXRESOLVER_HEADER_GUARD_1357924680
20
21
22
23
// Base include file. Must be first.
24
#include <
xalanc/PlatformSupport/PlatformSupportDefinitions.hpp
>
25
26
27
28
#include <
xalanc/PlatformSupport/PrefixResolver.hpp
>
29
30
31
32
namespace
XALAN_CPP_NAMESPACE
{
33
34
35
36
class
XALAN_PLATFORMSUPPORT_EXPORT
XalanSimplePrefixResolver
:
public
PrefixResolver
37
{
38
public
:
39
40
XalanSimplePrefixResolver
(
41
const
XalanDOMString
& thePrefix,
42
const
XalanDOMString
& theNamespaceURI,
43
const
XalanDOMString
& theURI);
44
45
virtual
46
~
XalanSimplePrefixResolver
();
47
48
49
virtual
const
XalanDOMString
*
50
getNamespaceForPrefix(
const
XalanDOMString
& prefix)
const
;
51
52
virtual
const
XalanDOMString
&
53
getURI()
const
;
54
55
public
:
56
57
const
XalanDOMString
&
m_prefix
;
58
59
const
XalanDOMString
&
m_namespaceURI
;
60
61
const
XalanDOMString
&
m_uri
;
62
};
63
64
65
66
}
67
68
69
70
#endif // XALANSIMPLEPREFIXRESOLVER_HEADER_GUARD_1357924680
xalanc::XalanSimplePrefixResolver
Definition:
XalanSimplePrefixResolver.hpp:36
XALAN_CPP_NAMESPACE
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
Definition:
XalanVersion.hpp:76
PrefixResolver.hpp
xalanc::XalanSimplePrefixResolver::m_uri
const XalanDOMString & m_uri
Definition:
XalanSimplePrefixResolver.hpp:61
xalanc::XalanSimplePrefixResolver::m_namespaceURI
const XalanDOMString & m_namespaceURI
Definition:
XalanSimplePrefixResolver.hpp:59
XALAN_PLATFORMSUPPORT_EXPORT
#define XALAN_PLATFORMSUPPORT_EXPORT
Definition:
PlatformSupportDefinitions.hpp:35
PlatformSupportDefinitions.hpp
xalanc::PrefixResolver
This class defines an interface for classes that resolve namespace prefixes to their URIs.
Definition:
PrefixResolver.hpp:39
xalanc::XalanSimplePrefixResolver::m_prefix
const XalanDOMString & m_prefix
Definition:
XalanSimplePrefixResolver.hpp:57
xalanc::XalanDOMString
Definition:
XalanDOMString.hpp:45
Copyright © 1999-2020 The Apache Software Foundation. All Rights Reserved.
Generated on Sun May 31 2020 10:37:17 for Xalan-C++ API Reference by
1.8.17