Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

ElemExtensionCall.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_ELEMEXTENSIONCALL_HEADER_GUARD)
17 #define XALAN_ELEMEXTENSIONCALL_HEADER_GUARD
18 
19 
20 
21 // Base include file. Must be first.
22 #include "XSLTDefinitions.hpp"
23 
24 
25 
26 // Base class header file.
27 #include "ElemLiteralResult.hpp"
28 
29 
30 
31 XALAN_CPP_NAMESPACE_BEGIN
32 
33 
34 
35 class ExtensionNSHandler;
36 class XalanQName;
37 
38 
39 
41 {
42 public:
43 
56  StylesheetConstructionContext& constructionContext,
57  Stylesheet& stylesheetTree,
58  const XalanDOMChar* name,
59  const AttributeListType& atts,
60  int lineNumber,
61  int columnNumber,
62  ExtensionNSHandler& ns);
63 
64  static ElemExtensionCall*
65  create(
66  MemoryManagerType& theManager,
67  StylesheetConstructionContext& constructionContext,
68  Stylesheet& stylesheetTree,
69  const XalanDOMChar* name,
70  const AttributeListType& atts,
71  int lineNumber,
72  int columnNumber,
73  ExtensionNSHandler& ns);
74 
75  // These methods are inherited from ElemLiteralResult ...
76 
77 #if !defined(XALAN_RECURSIVE_STYLESHEET_EXECUTION)
78  virtual const ElemTemplateElement*
79  startElement(StylesheetExecutionContext& executionContext) const;
80 
81  virtual void
82  endElement(StylesheetExecutionContext& executionContext) const;
83 
84  virtual bool
86  StylesheetExecutionContext& executionContext,
87  const ElemTemplateElement* element) const;
88 
89 #else
90  virtual void
91  execute(StylesheetExecutionContext& executionContext) const;
92 #endif
93 
94  bool
95  elementAvailable(StylesheetExecutionContext& executionContext) const;
96 
97 private:
98 
99  const XalanQName* const m_qname;
100 
101  ExtensionNSHandler& m_nsh;
102 };
103 
104 
105 
106 XALAN_CPP_NAMESPACE_END
107 
108 
109 
110 #endif // XALAN_ELEMEXTENSIONCALL_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 const ElemTemplateElement * startElement(StylesheetExecutionContext &executionContext) const
Completes "pre-processing" before any sub-elements are invoked (i.e.
Definition: ElemTemplateElement.hpp:74
virtual void endElement(StylesheetExecutionContext &executionContext) const
Completes "post-processing" afer any sub-elements are invoked (i.e.
Definition: ElemLiteralResult.hpp:39
bool elementAvailable(StylesheetExecutionContext &executionContext) const
Definition: StylesheetExecutionContext.hpp:104
ElemExtensionCall(StylesheetConstructionContext &constructionContext, Stylesheet &stylesheetTree, const XalanDOMChar *name, const AttributeListType &atts, int lineNumber, int columnNumber, ExtensionNSHandler &ns)
Construct an object corresponding to calling an XSL extension.
static ElemExtensionCall * create(MemoryManagerType &theManager, StylesheetConstructionContext &constructionContext, Stylesheet &stylesheetTree, const XalanDOMChar *name, const AttributeListType &atts, int lineNumber, int columnNumber, ExtensionNSHandler &ns)
Definition: ExtensionNSHandler.hpp:54
virtual bool executeChildElement(StylesheetExecutionContext &executionContext, const ElemTemplateElement *element) const
Filters sub-elements that should be executed.
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
Class to represent a qualified name: "The name of an internal XSLT object, specifically a named templ...
Definition: XalanQName.hpp:68
Definition: ElemExtensionCall.hpp:40

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