Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

ElemWithParam.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_ELEMWITHPARAM_HEADER_GUARD)
17 #define XALAN_ELEMWITHPARAM_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 XPath;
36 
37 
38 
40 {
41 public:
42 
53  StylesheetConstructionContext& constructionContext,
54  Stylesheet& stylesheetTree,
55  const AttributeListType& atts,
56  int lineNumber,
57  int columnNumber);
58 
59  virtual
61 
67  const XalanQName&
68  getQName() const
69  {
70  assert(m_qname != 0);
71 
72  return *m_qname;
73  }
74 
75  virtual const XalanDOMString&
76  getElementName() const;
77 
78  virtual const XPath*
79  getXPath(unsigned int index = 0) const;
80 
81 #if !defined(XALAN_RECURSIVE_STYLESHEET_EXECUTION)
82  virtual const ElemTemplateElement*
83  startElement(StylesheetExecutionContext& executionContext) const;
84 
85  virtual void
86  endElement(StylesheetExecutionContext& executionContext) const;
87 #endif
88 
89 
90 private:
91 
92  // not implemented
94 
96  operator=(const ElemWithParam&);
97 
98  // Data members...
99  const XPath* m_selectPattern;
100 
101  const XalanQName* m_qname;
102 };
103 
104 
105 
106 XALAN_CPP_NAMESPACE_END
107 
108 
109 
110 #endif // XALAN_ELEMWITHPARAM_HEADER_GUARD
virtual const XalanDOMString & getElementName() const
Get a string for the name of the element.
virtual const XPath * getXPath(unsigned int index=0) const
Get XPath pattern/expression of one of the element atribute.
XERCES_CPP_NAMESPACE_QUALIFIER AttributeList AttributeListType
Definition: AttributeListImpl.hpp:39
Definition: ElemTemplateElement.hpp:74
Definition: StylesheetExecutionContext.hpp:104
Definition: XPath.hpp:62
Definition: ElemWithParam.hpp:39
virtual ~ElemWithParam()
virtual const ElemTemplateElement * startElement(StylesheetExecutionContext &executionContext) const
Completes "pre-processing" before any sub-elements are invoked (i.e.
virtual void endElement(StylesheetExecutionContext &executionContext) const
Completes "post-processing" afer any sub-elements are invoked (i.e.
Definition: XalanDOMString.hpp:42
Definition: StylesheetConstructionContext.hpp:73
This class represents the base stylesheet or an "import" stylesheet.
Definition: Stylesheet.hpp:84
ElemWithParam(StylesheetConstructionContext &constructionContext, Stylesheet &stylesheetTree, const AttributeListType &atts, int lineNumber, int columnNumber)
Construct an object corresponding to an "xsl:with-param" element.
Class to represent a qualified name: "The name of an internal XSLT object, specifically a named templ...
Definition: XalanQName.hpp:68
const XalanQName & getQName() const
Retrieves qualified name of object.
Definition: ElemWithParam.hpp:68

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