Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

ElemApplyTemplates.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_ELEMAPPLYTEMPLATES_HEADER_GUARD)
17 #define XALAN_ELEMAPPLYTEMPLATES_HEADER_GUARD
18 
19 // Base include file. Must be first.
21 
22 
23 
24 // Base class header file.
26 
27 
28 
29 XALAN_CPP_NAMESPACE_BEGIN
30 
31 
32 
33 class XalanQName;
34 
35 
36 
38 {
39 public:
40 
42 
53  StylesheetConstructionContext& constructionContext,
54  Stylesheet& stylesheetTree,
55  const AttributeListType& atts,
56  int lineNumber,
57  int columnNumber);
58 
59  virtual
61 
62  // These methods are inherited from ElemTemplateElement ...
63 
64  virtual const XalanDOMString&
65  getElementName() const;
66 
67 #if !defined(XALAN_RECURSIVE_STYLESHEET_EXECUTION)
68  virtual const ElemTemplateElement*
69  startElement(StylesheetExecutionContext& executionContext) const;
70 
71  virtual void
72  endElement(StylesheetExecutionContext& executionContext) const;
73 
74  virtual const ElemTemplateElement*
76  StylesheetExecutionContext& executionContext,
77  const ElemTemplateElement* currentElem) const;
78 
79  virtual const ElemTemplateElement*
81  StylesheetExecutionContext& executionContext) const;
82 #else
83  virtual void
84  execute(StylesheetExecutionContext& executionContext) const;
85 #endif
86 
87 
88 
89 protected:
90 
91  virtual bool
92  childTypeAllowed(int xslToken) const;
93 
94 #if !defined(XALAN_RECURSIVE_STYLESHEET_EXECUTION)
95  const ElemTemplateElement*
97 #else
98  virtual void
99  transformChild(
100  StylesheetExecutionContext& executionContext,
101  const ElemTemplateElement& xslInstruction,
102  const ElemTemplateElement* theTemplate,
103  XalanNode* child) const;
104 
105 #if !defined(XALAN_NO_USING_DECLARATION)
106  using ParentType::transformChild;
107 #endif
108 
109  virtual void
110  selectAndSortChildren(
111  StylesheetExecutionContext& executionContext,
112  const ElemTemplateElement* theTemplate,
113  NodeSorter* sorter,
114  int selectStackFrameIndex) const;
115 #endif
116 
117 private:
118 
119  const XalanQName* m_mode;
120 };
121 
122 
123 
124 XALAN_CPP_NAMESPACE_END
125 
126 
127 
128 #endif // XALAN_ELEMAPPLYTEMPLATES_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