Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

ElemForwardCompatible.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_ELEMFORWARDCOMPATIBLE_HEADER_GUARD)
17 #define XALAN_ELEMFORWARDCOMPATIBLE_HEADER_GUARD
18 
19 
20 // Base include file. Must be first.
21 #include "XSLTDefinitions.hpp"
22 
23 
24 
25 // Base class header file.
26 #include "ElemTemplateElement.hpp"
27 
28 
29 
30 XALAN_CPP_NAMESPACE_BEGIN
31 
32 
33 
35 {
36 public:
37 
50  StylesheetConstructionContext& constructionContext,
51  Stylesheet& stylesheetTree,
52  const XalanDOMChar* name,
53  const AttributeListType& atts,
54  int lineNumber,
55  int columnNumber);
56 
57  static ElemForwardCompatible*
58  create(
59  MemoryManagerType& theManager,
60  StylesheetConstructionContext& constructionContext,
61  Stylesheet& stylesheetTree,
62  const XalanDOMChar* name,
63  const AttributeListType& atts,
64  int lineNumber,
65  int columnNumber);
66  virtual
68 
69  // These methods are inherited from ElemTemplateElement ...
70 
71  virtual const XalanDOMString&
72  getElementName() const;
73 
74 #if !defined(XALAN_RECURSIVE_STYLESHEET_EXECUTION)
75  virtual const ElemTemplateElement*
76  startElement(StylesheetExecutionContext& executionContext) const;
77 
78  virtual bool
80  StylesheetExecutionContext& executionContext,
81  const ElemTemplateElement* element) const;
82 #else
83  virtual void
84  execute(StylesheetExecutionContext& executionContext) const;
85 #endif
86 
87 private:
88 
89  // not implemented
91 
93  operator=(const ElemForwardCompatible&);
94 
95 
96  const XalanDOMString& m_elementName;
97 };
98 
99 
100 
101 XALAN_CPP_NAMESPACE_END
102 
103 
104 
105 #endif // XALAN_ELEMFORWARDCOMPATIBLE_HEADER_GUARD
XERCES_CPP_NAMESPACE_QUALIFIER AttributeList AttributeListType
Definition: AttributeListImpl.hpp:39
XALAN_CPP_NAMESPACE_BEGIN typedef XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager MemoryManagerType
Definition: XalanMemoryManagement.hpp:39
virtual ~ElemForwardCompatible()
Definition: ElemTemplateElement.hpp:74
virtual bool executeChildElement(StylesheetExecutionContext &executionContext, const ElemTemplateElement *element) const
Filters sub-elements that should be executed.
Definition: StylesheetExecutionContext.hpp:104
Definition: ElemForwardCompatible.hpp:34
virtual const XalanDOMString & getElementName() const
Get a string for the name of the element.
Definition: XalanDOMString.hpp:42
Definition: StylesheetConstructionContext.hpp:73
virtual void execute(StylesheetExecutionContext &executionContext) const
Execute the element.
This class represents the base stylesheet or an "import" stylesheet.
Definition: Stylesheet.hpp:84
ElemForwardCompatible(StylesheetConstructionContext &constructionContext, Stylesheet &stylesheetTree, const XalanDOMChar *name, const AttributeListType &atts, int lineNumber, int columnNumber)
Construct an object corresponding to an unknown XSLT element for forward-compatible processing...
static ElemForwardCompatible * create(MemoryManagerType &theManager, StylesheetConstructionContext &constructionContext, Stylesheet &stylesheetTree, const XalanDOMChar *name, const AttributeListType &atts, int lineNumber, int columnNumber)
virtual const ElemTemplateElement * startElement(StylesheetExecutionContext &executionContext) const
Completes "pre-processing" before any sub-elements are invoked (i.e.

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