Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

XalanToXercesTranscoderWrapper.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(XALANTOXERCESTRANSCODERWRAPPER_HEADER_GUARD_1357924680)
17 #define XALANTOXERCESTRANSCODERWRAPPER_HEADER_GUARD_1357924680
18 
19 
20 
21 // Base include file. Must be first.
23 
24 
25 
26 // Base class header file...
28 
29 
30 
31 XALAN_DECLARE_XERCES_CLASS(XMLTranscoder)
32 
33 
34 
35 XALAN_CPP_NAMESPACE_BEGIN
36 
37 
38 
40 {
41 public:
42 
43  typedef XERCES_CPP_NAMESPACE_QUALIFIER XMLTranscoder XMLTranscoderType;
44 
45  explicit
46  XalanToXercesTranscoderWrapper(MemoryManagerType& theManager, XMLTranscoderType& theTranscoder);
47 
49  create(MemoryManagerType& theManager, XMLTranscoderType& theTranscoder);
50 
51  virtual
53 
54  virtual eCode
55  transcode(
56  const XalanDOMChar* theSourceData,
57  size_type theSourceCount,
58  XalanXMLByte* theTarget,
59  size_type theTargetSize,
60  size_type& theSourceCharsTranscoded,
61  size_type& theTargetBytesUsed);
62 
63  virtual eCode
64  transcode(
65  const XalanXMLByte* theSourceData,
66  size_type theSourceCount,
67  XalanDOMChar* theTarget,
68  size_type theTargetSize,
69  size_type& theSourceCharsTranscoded,
70  size_type& theTargetBytesUsed,
71  unsigned char* theCharSizes);
72 
73  virtual bool
74  canTranscodeTo(UnicodeCharType theChar) const;
75 
76 private:
77 
78  // Not implemented...
80 
82  operator=(const XalanToXercesTranscoderWrapper&);
83 
84 
85  // Data members...
86  XMLTranscoderType* const m_transcoder;
87 };
88 
89 
90 
91 XALAN_CPP_NAMESPACE_END
92 
93 
94 
95 #endif // XALANTOXERCESTRANSCODERWRAPPER_HEADER_GUARD_1357924680

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