Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

XercesWrapperHelper.hpp
Go to the documentation of this file.
1 /*
2  * Copyright 1999-2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 #if !defined(XERCESWRAPPERHELPER_HEADER_GUARD_1357924680)
17 #define XERCESWRAPPERHELPER_HEADER_GUARD_1357924680
18 
19 
20 
22 
23 
24 
25 #include <cassert>
26 
27 
28 
29 #include <xercesc/util/XercesDefs.hpp>
30 
31 
32 
34 
35 
36 
38 
39 
40 
41 XALAN_CPP_NAMESPACE_BEGIN
42 
43 
44 
46 {
47 public:
48 
49  typedef XMLSize_t XercesStringLengthType;
50 
51  static const XMLCh*
53  {
54  assert(XercesStringLengthType(theString.length()) == theString.length());
55 
56  return theString.c_str();
57  }
58 
59  static bool
60  isSupported(
61  const DOMNodeType* theXercesNode,
62  const XalanDOMString& feature,
63  const XalanDOMString& version);
64 
65  static const XalanDOMString&
66  substringData(
67  const DOMCharacterDataType* theXercesNode,
68  unsigned int offset,
69  unsigned int count,
70  XalanDOMString& theResult);
71 
72 private:
73 
74  // Not implemented...
76 
78 };
79 
80 
81 
82 XALAN_CPP_NAMESPACE_END
83 
84 
85 
86 #endif // !defined(XERCESWRAPPERHELPER_HEADER_GUARD_1357924680)
XMLSize_t XercesStringLengthType
Definition: XercesWrapperHelper.hpp:49
size_type length() const
Definition: XalanDOMString.hpp:209
#define XALAN_XERCESPARSERLIAISON_EXPORT
Definition: XercesParserLiaisonDefinitions.hpp:37
Definition: XercesWrapperHelper.hpp:45
XERCES_CPP_NAMESPACE_QUALIFIER DOMCharacterData DOMCharacterDataType
Definition: XercesWrapperTypes.hpp:52
const XalanDOMChar * c_str() const
Definition: XalanDOMString.hpp:314
XERCES_CPP_NAMESPACE_QUALIFIER DOMNode DOMNodeType
Definition: XercesWrapperTypes.hpp:63
Definition: XalanDOMString.hpp:42
static const XMLCh * XalanDOMStringToXercesDOMString(const XalanDOMString &theString)
Definition: XercesWrapperHelper.hpp:52

Interpreting class diagrams

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

dot

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

Apache Logo