Xalan-C++ API Reference 1.12.0
XercesBridgeHelper.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(XERCESBRIDGEHELPER_HEADER_GUARD_1357924680)
19#define XERCESBRIDGEHELPER_HEADER_GUARD_1357924680
20
21
22
24
25
26
27#include <cassert>
28
29
30
31#if XERCES_VERSION_MAJOR >= 2
32#include <xercesc/dom/deprecated/DOM_Node.hpp>
33#else
34#include <xercesc/dom/DOM_Node.hpp>
35#endif
36
37
38
40
41
42
45
46
47
48namespace XERCES_CPP_NAMESPACE
49{
50 class DOM_CharacterData;
51}
52
53
54
55namespace XALAN_CPP_NAMESPACE {
56
57
58/**
59 * This class is deprecated.
60 *
61 * @deprecated This class is part of the deprecated Xerces DOM bridge.
62 */
64{
65public:
66
67 typedef unsigned int XercesStringLengthType;
68
69 static const DOMStringType
76
77 static void
81
82 static void
84
85 static bool
89 const XalanDOMString& version);
90
91 static void
94 const XalanDOMString& prefix);
95
96 static const XalanDOMString
99 unsigned int offset,
100 unsigned int count);
101
102 static void
105 const XalanDOMString& arg);
106
107 static void
110 unsigned int offset,
111 const XalanDOMString& arg);
112
113 static void
116 unsigned int offset,
117 unsigned int count);
118
119 static void
122 unsigned int offset,
123 unsigned int count,
124 const XalanDOMString& arg);
125private:
126
127 // Not implemented...
129
131};
132
133
134
135}
136
137
138
139#endif // !defined(XERCESBRIDGEHELPER_HEADER_GUARD_1357924680)
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
#define XALAN_XERCESPARSERLIAISON_EXPORT
This class is deprecated.
static void insertData(DOM_CharacterDataType &theXercesNode, unsigned int offset, const XalanDOMString &arg)
static const XalanDOMString substringData(const DOM_CharacterDataType &theXercesNode, unsigned int offset, unsigned int count)
static void appendData(DOM_CharacterDataType &theXercesNode, const XalanDOMString &arg)
static bool isSupported(const DOM_NodeType &theXercesNode, const XalanDOMString &feature, const XalanDOMString &version)
static void deleteData(DOM_CharacterDataType &theXercesNode, unsigned int offset, unsigned int count)
static void normalize(DOM_NodeType &theXercesNode)
static void setNodeValue(DOM_NodeType &theXercesNode, const XalanDOMString &nodeValue)
static void setPrefix(DOM_NodeType &theXercesNode, const XalanDOMString &prefix)
static void replaceData(DOM_CharacterDataType &theXercesNode, unsigned int offset, unsigned int count, const XalanDOMString &arg)
static const DOMStringType XalanDOMStringToXercesDOMString(const XalanDOMString &theString)
xercesc::DOMString DOMStringType
xercesc::DOM_Node DOM_NodeType
xercesc::DOM_CharacterData DOM_CharacterDataType