Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

ElemPI.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_ELEMPI_HEADER_GUARD)
17 #define XALAN_ELEMPI_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 "ElemTemplateElement.hpp"
28 
29 
30 
31 XALAN_CPP_NAMESPACE_BEGIN
32 
33 
34 
35 class AVT;
36 
37 
38 
40 {
41 public:
42 
53  ElemPI(
54  StylesheetConstructionContext& constructionContext,
55  Stylesheet& stylesheetTree,
56  const AttributeListType& atts,
57  int lineNumber,
58  int columnNumber);
59 
60  virtual
61  ~ElemPI();
62 
63  // These methods are inherited from ElemTemplateElement ...
64 
65  virtual const XalanDOMString&
66  getElementName() const;
67 
68 #if !defined(XALAN_RECURSIVE_STYLESHEET_EXECUTION)
69  virtual const ElemTemplateElement*
70  startElement(StylesheetExecutionContext& executionContext) const;
71 
72  virtual void
73  endElement(StylesheetExecutionContext& executionContext) const;
74 #else
75  virtual void
76  execute(StylesheetExecutionContext& executionContext) const;
77 #endif
78 
79 protected:
80 
81  virtual bool
82  childTypeAllowed(int xslToken) const;
83 
84 private:
85 
86  const AVT* m_nameAVT;
87 };
88 
89 
90 
91 XALAN_CPP_NAMESPACE_END
92 
93 
94 
95 #endif // XALAN_ELEMPI_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