Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

ElemIf.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_ELEMIF_HEADER_GUARD)
17 #define XALAN_ELEMIF_HEADER_GUARD
18 
19 // Base include file. Must be first.
20 #include "XSLTDefinitions.hpp"
21 
22 
23 
24 // Base class header file.
25 #include "ElemTemplateElement.hpp"
26 
27 
28 
29 XALAN_CPP_NAMESPACE_BEGIN
30 
31 
32 
33 class XPath;
34 
35 
36 
38 {
39 public:
40 
50  ElemIf(
51  StylesheetConstructionContext& constructionContext,
52  Stylesheet& stylesheetTree,
53  const AttributeListType& atts,
54  int lineNumber,
55  int columnNumber);
56 
57  // These methods are inherited from ElemTemplateElement ...
58 
59  virtual const XalanDOMString&
60  getElementName() const;
61 
62 #if !defined(XALAN_RECURSIVE_STYLESHEET_EXECUTION)
63  virtual const ElemTemplateElement*
64  startElement(StylesheetExecutionContext& executionContext) const;
65 
66  virtual void
67  endElement(StylesheetExecutionContext& executionContext) const;
68 #else
69  virtual void
70  execute(StylesheetExecutionContext& executionContext) const;
71 #endif
72 
73  virtual const XPath*
74  getXPath(unsigned int index = 0) const;
75 
76 private:
77 
78  const XPath* m_test;
79 };
80 
81 
82 
83 XALAN_CPP_NAMESPACE_END
84 
85 
86 
87 #endif // XALAN_ELEMIF_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