Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

ElemLiteralResult.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_ELEMLITERALRESULT_HEADER_GUARD)
17 #define XALAN_ELEMLITERALRESULT_HEADER_GUARD
18 
19 
20 
21 // Base include file. Must be first.
23 
24 
25 
26 // Base class header file.
27 #include <xalanc/XSLT/ElemUse.hpp>
28 
29 
30 
31 XALAN_CPP_NAMESPACE_BEGIN
32 
33 
34 
35 class AVT;
36 
37 
38 
40 {
41 public:
42 
54  StylesheetConstructionContext& constructionContext,
55  Stylesheet& stylesheetTree,
56  const XalanDOMChar* name,
57  const AttributeListType& atts,
58  int lineNumber,
59  int columnNumber);
60 
61  virtual
63 
64  // These methods are inherited from ElemUse ...
65 
66  virtual const XalanDOMString&
67  getElementName() const;
68 
69  virtual void
71  StylesheetConstructionContext& constructionContext,
72  const NamespacesHandler& theParentHandler);
73 
74  virtual bool
75  isAttrOK(
76  const XalanDOMChar* attrName,
77  const AttributeListType& atts,
78  int which,
79  StylesheetConstructionContext& constructionContext) const;
80 
81 #if !defined(XALAN_RECURSIVE_STYLESHEET_EXECUTION)
82  virtual const ElemTemplateElement*
83  startElement(StylesheetExecutionContext& executionContext) const;
84 
85  virtual void
86  endElement(StylesheetExecutionContext& executionContext) const;
87 
88  virtual void
89  evaluateAVTs(StylesheetExecutionContext& executionContext) const;
90 #else
91  virtual void
92  execute(StylesheetExecutionContext& executionContext) const;
93 #endif
94 
95 protected:
96 
105  void
106  init(
107  StylesheetConstructionContext& constructionContext,
108  Stylesheet& stylesheetTree,
109  const XalanDOMChar* name,
110  const AttributeListType& atts);
111 
124  StylesheetConstructionContext& constructionContext,
125  Stylesheet& stylesheetTree,
126  const XalanDOMChar* name,
127  const AttributeListType& atts,
128  int lineNumber,
129  int columnNumber,
130  int xslToken);
131 
132  virtual void
134  StylesheetConstructionContext& constructionContext,
135  const NamespacesHandler& theParentHandler,
136  NamespacesHandler& theHandler);
137 
138 private:
139 
140  // not implemented
142 
144  operator=(const ElemLiteralResult&);
145 
146 
150  const XalanDOMString& m_elementName;
151 
155  const AVT** m_avts;
156 
160  unsigned int m_avtsCount;
161 };
162 
163 
164 
165 XALAN_CPP_NAMESPACE_END
166 
167 
168 
169 #endif // XALAN_ELEMLITERALRESULT_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