Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


XalanToXercesTranscoderWrapper.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(XALANTOXERCESTRANSCODERWRAPPER_HEADER_GUARD_1357924680)
19 #define XALANTOXERCESTRANSCODERWRAPPER_HEADER_GUARD_1357924680
20 
21 
22 
23 // Base include file. Must be first.
25 
26 
27 
28 // Base class header file...
30 
31 
32 
33 XALAN_DECLARE_XERCES_CLASS(XMLTranscoder)
34 
35 
36 
37 XALAN_CPP_NAMESPACE_BEGIN
38 
39 
40 
42 {
43 public:
44 
45  typedef XERCES_CPP_NAMESPACE_QUALIFIER XMLTranscoder XMLTranscoderType;
46 
47  explicit
48  XalanToXercesTranscoderWrapper(MemoryManager& theManager, XMLTranscoderType& theTranscoder);
49 
51  create(MemoryManager& theManager, XMLTranscoderType& theTranscoder);
52 
53  virtual
55 
56  virtual eCode
57  transcode(
58  const XalanDOMChar* theSourceData,
59  size_type theSourceCount,
60  XalanXMLByte* theTarget,
61  size_type theTargetSize,
62  size_type& theSourceCharsTranscoded,
63  size_type& theTargetBytesUsed);
64 
65  virtual eCode
66  transcode(
67  const XalanXMLByte* theSourceData,
68  size_type theSourceCount,
69  XalanDOMChar* theTarget,
70  size_type theTargetSize,
71  size_type& theSourceCharsTranscoded,
72  size_type& theTargetBytesUsed,
73  unsigned char* theCharSizes);
74 
75  virtual bool
76  canTranscodeTo(XalanUnicodeChar theChar) const;
77 
78 private:
79 
80  // Not implemented...
82 
84  operator=(const XalanToXercesTranscoderWrapper&);
85 
86 
87  // Data members...
88  XMLTranscoderType* const m_transcoder;
89 };
90 
91 
92 
93 XALAN_CPP_NAMESPACE_END
94 
95 
96 
97 #endif // XALANTOXERCESTRANSCODERWRAPPER_HEADER_GUARD_1357924680
virtual bool canTranscodeTo(XalanUnicodeChar theChar) const =0
XalanTranscodingServices::size_type size_type
XERCES_CPP_NAMESPACE_QUALIFIER XMLTranscoder XMLTranscoderType
#define XALAN_PLATFORMSUPPORT_EXPORT
XalanTranscodingServices::XalanXMLByte XalanXMLByte
virtual eCode transcode(const XalanDOMChar *theSourceData, size_type theSourceCount, XalanXMLByte *theTarget, size_type theTargetSize, size_type &theSourceCharsTranscoded, size_type &theTargetBytesUsed)=0
Transcode data from UTF-16 to the transcoder's encoding.

Interpreting class diagrams

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

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

Apache Logo