Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


XStringCached.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(XSTRINGCACHED_HEADER_GUARD_1357924680)
19 #define XSTRINGCACHED_HEADER_GUARD_1357924680
20 
21 
22 
23 // Base header file. Must be first.
25 
26 
27 
28 // Base class header file.
30 
31 
32 
34 
35 
36 
37 XALAN_CPP_NAMESPACE_BEGIN
38 
39 
40 
42 {
43 public:
44 
46 
47  /**
48  * Create a string XObject from a cached string.
49  *
50  * @param theValue value used to create object
51  */
53  GetCachedString& val,
54  MemoryManager& theManager);
55 
57  const XStringCached& source,
58  MemoryManager& theManager);
59 
60  virtual
61  ~XStringCached();
62 
63 
64  // These methods are inherited from XObject ...
65 
66  virtual const XalanDOMString&
67  str(XPathExecutionContext& executionContext) const;
68 
69  virtual const XalanDOMString&
70  str() const;
71 
72  virtual void
73  str(
74  XPathExecutionContext& executionContext,
75  FormatterListener& formatterListener,
76  MemberFunctionPtr function) const;
77 
78  virtual void
79  str(
80  FormatterListener& formatterListener,
81  MemberFunctionPtr function) const;
82 
83  virtual void
84  str(
85  XPathExecutionContext& executionContext,
86  XalanDOMString& theBuffer) const;
87 
88  virtual void
89  str(XalanDOMString& theBuffer) const;
90 
91  virtual double
92  stringLength(XPathExecutionContext& executionContext) const;
93 
94 protected:
95 
96  virtual eObjectType
97  getRealType() const;
98 
99 private:
100 
101  //Not implemented
102  XStringCached(const XStringCached& source);
103 
104  XStringCached();
105 
106  const GetCachedString m_value;
107 };
108 
109 
110 
111 XALAN_CPP_NAMESPACE_END
112 
113 
114 
115 #endif // XSTRINGCACHED_HEADER_GUARD_1357924680
XStringBase ParentType
eObjectType
Enumeration of possible object types.
Definition: XObject.hpp:74
A SAX-based formatter interface for the XSL processor.
virtual double stringLength(XPathExecutionContext &executionContext) const =0
Get the length of the string value of the instance.
#define XALAN_XPATH_EXPORT
virtual eObjectType getRealType() const
Tell what kind of class this is.
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.

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

Apache Logo