Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

XStringAdapter.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(XSTRINGADAPTER_HEADER_GUARD_1357924680)
17 #define XSTRINGADAPTER_HEADER_GUARD_1357924680
18 
19 
20 
21 // Base header file. Must be first.
23 
24 
25 
26 // Base class header file.
28 
29 
30 
31 XALAN_CPP_NAMESPACE_BEGIN
32 
33 
34 
36 {
37 public:
38 
40 
48  XStringAdapter(const XObjectPtr& val,
49  MemoryManagerType& theManager);
50 
51  XStringAdapter(const XStringAdapter& source,
52  MemoryManagerType& theManager);
53 
54  virtual
55  ~XStringAdapter();
56 
57 
58  // These methods are inherited from XObject ...
59 
60  virtual const XalanDOMString&
61  str() const;
62 
63  virtual void
64  str(
65  FormatterListener& formatterListener,
66  MemberFunctionPtr function) const;
67 
68 #if !defined(XALAN_NO_USING_DECLARATION)
69  using ParentType::str;
70 #endif
71 
72  virtual double
73  stringLength() const;
74 
75 protected:
76 
77  virtual eObjectType
78  getRealType() const;
79 
80 private:
81  // Not implemented
82  XStringAdapter(const XStringAdapter& source);
84 
85  const XObjectPtr m_value;
86 };
87 
88 
89 
90 XALAN_CPP_NAMESPACE_END
91 
92 
93 
94 #endif // XSTRINGADAPTER_HEADER_GUARD_1357924680
XALAN_CPP_NAMESPACE_BEGIN typedef XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager MemoryManagerType
Definition: XalanMemoryManagement.hpp:39
eObjectType
Enumeration of possible object types.
Definition: XObject.hpp:70
Definition: XStringBase.hpp:40
Class to hold XObjectPtr return types.
Definition: XObject.hpp:584
virtual double stringLength() const =0
Get the length of the string value of the instance.
XStringBase ParentType
Definition: XStringAdapter.hpp:39
A SAX-based formatter interface for the XSL processor.
Definition: FormatterListener.hpp:62
virtual eObjectType getRealType() const
Tell what kind of class this is.
Definition: XalanDOMString.hpp:42
Definition: XStringAdapter.hpp:35
virtual const XalanDOMString & str() const
Cast result object to a string.
#define XALAN_XPATH_EXPORT
Definition: XPathDefinitions.hpp:33
virtual const XalanDOMString & str() const =0
Cast result object to a string.

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