Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

ElemCopyOf.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_ELEMCOPYOF_HEADER_GUARD)
17 #define XALAN_ELEMCOPYOF_HEADER_GUARD
18 
24 // Base include file. Must be first.
25 #include "XSLTDefinitions.hpp"
26 
27 
28 
29 // Base class header file.
30 #include "ElemTemplateElement.hpp"
31 
32 
33 
34 XALAN_CPP_NAMESPACE_BEGIN
35 
36 
37 
38 class NodeRefListBase;
39 class XPath;
40 
41 
42 
44 {
45 public:
46 
56  ElemCopyOf(
57  StylesheetConstructionContext& constructionContext,
58  Stylesheet& stylesheetTree,
59  const AttributeListType& atts,
60  int lineNumber,
61  int columnNumber);
62 
63 
64 
65 
66  // These methods are inherited from ElemTemplateElement ...
67 
68  virtual const XalanDOMString&
69  getElementName() const;
70 
71 #if !defined(XALAN_RECURSIVE_STYLESHEET_EXECUTION)
72  virtual const ElemTemplateElement*
73  startElement(StylesheetExecutionContext& executionContext) const;
74 #else
75  virtual void
76  execute(StylesheetExecutionContext& executionContext) const;
77 #endif
78  virtual const XPath*
79  getXPath(unsigned int index = 0) const;
80 
81 private:
82 
83  const XPath* m_selectPattern;
84 };
85 
86 
87 
88 XALAN_CPP_NAMESPACE_END
89 
90 
91 
92 #endif // XALAN_ELEMCOPYOF_HEADER_GUARD
virtual const ElemTemplateElement * startElement(StylesheetExecutionContext &executionContext) const
Completes "pre-processing" before any sub-elements are invoked (i.e.
XERCES_CPP_NAMESPACE_QUALIFIER AttributeList AttributeListType
Definition: AttributeListImpl.hpp:39
Definition: ElemTemplateElement.hpp:74
Definition: StylesheetExecutionContext.hpp:104
Definition: XPath.hpp:62
Local implementation of NodeRefList.
Definition: NodeRefListBase.hpp:42
virtual const XPath * getXPath(unsigned int index=0) const
Get XPath pattern/expression of one of the element atribute.
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
ElemCopyOf(StylesheetConstructionContext &constructionContext, Stylesheet &stylesheetTree, const AttributeListType &atts, int lineNumber, int columnNumber)
Construct an object corresponding to an "xsl:copy-of" element.
Definition: ElemCopyOf.hpp:43

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