Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

ElemTextLiteral.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(XALAN_ELEMTEXTLITERAL_HEADER_GUARD)
17 #define XALAN_ELEMTEXTLITERAL_HEADER_GUARD
18 
19 
20 // Base include file. Must be first.
21 #include "XSLTDefinitions.hpp"
22 
23 
24 
26 
27 
28 
29 // Base class header file.
30 #include "ElemTemplateElement.hpp"
31 
32 
33 
34 XALAN_CPP_NAMESPACE_BEGIN
35 
36 
37 
39 {
40 public:
41 
56  StylesheetConstructionContext& constructionContext,
57  Stylesheet& stylesheetTree,
58  int lineNumber,
59  int columnNumber,
60  const XalanDOMChar* ch,
63  bool fPreserveSpace,
64  bool fDisableOutputEscaping);
65 
66  virtual
68 
74  bool
76  {
77  return preserveSpace();
78  }
79 
80  const XalanDOMChar*
81  getText() const
82  {
83  return m_ch;
84  }
85 
87  getLength() const
88  {
89  return m_length;
90  }
91 
92  virtual bool
93  isWhitespace() const;
94 
95  // These methods are inherited from ElemTemplateElement ...
96 
97  virtual const XalanDOMString&
98  getElementName() const;
99 
100 #if !defined(XALAN_RECURSIVE_STYLESHEET_EXECUTION)
101  virtual const ElemTemplateElement*
102  startElement(StylesheetExecutionContext& executionContext) const;
103 #else
104  virtual void
105  execute(StylesheetExecutionContext& executionContext) const;
106 #endif
107 
108 private:
109 
110  // not implemented
112 
114  operator=(const ElemTextLiteral&);
115 
116  const bool m_isWhitespace;
117 
118  const XalanDOMChar* const m_ch;
119  const XalanDOMString::size_type m_length;
120 };
121 
122 
123 
124 XALAN_CPP_NAMESPACE_END
125 
126 
127 
128 #endif // XALAN_ELEMTEXTLITERAL_HEADER_GUARD

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