Xalan-C++ API Reference 1.12.0
XalanEncodingPropertyCache.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(XALANENCODINGPROPERTYCACHE_HEADER_GUARD_1357924680)
19#define XALANENCODINGPROPERTYCACHE_HEADER_GUARD_1357924680
20
21
22
24
25
26
28
29
30
32
33
34
35namespace XALAN_CPP_NAMESPACE {
36
37
38
39class XalanOutputTranscoder;
40
41
42
43
45{
46public:
47
49 MemoryManager& theManager,
50 size_t theCacheSize = XalanDOMChar(~0),
52
54
55 bool
57
60 {
61 return m_transcoder;
62 }
63
64 void
66 {
67 m_transcoder = theTranscoder;
68 }
69private:
70
71 const XalanOutputTranscoder* m_transcoder;
72
73 mutable XalanBitmap m_presentBitmap;
74
75 mutable XalanBitmap m_valueBitmap;
76};
77
78
79
80}
81
82
83
84#endif // XALANENCODINGPROPERTYCACHE_HEADER_GUARD_1357924680
#define XALAN_PLATFORMSUPPORT_EXPORT
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
bool canEncodeCharacter(XalanUnicodeChar theChar) const
const XalanOutputTranscoder * getTranscoder() const
void setTranscoder(const XalanOutputTranscoder *theTranscoder)
XalanEncodingPropertyCache(MemoryManager &theManager, size_t theCacheSize=XalanDOMChar(~0), const XalanOutputTranscoder *theTranscoder=0)