00001 /* 00002 * Copyright 1999-2004 The Apache Software Foundation. 00003 * 00004 * Licensed under the Apache License, Version 2.0 (the "License"); 00005 * you may not use this file except in compliance with the License. 00006 * You may obtain a copy of the License at 00007 * 00008 * http://www.apache.org/licenses/LICENSE-2.0 00009 * 00010 * Unless required by applicable law or agreed to in writing, software 00011 * distributed under the License is distributed on an "AS IS" BASIS, 00012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00013 * See the License for the specific language governing permissions and 00014 * limitations under the License. 00015 */ 00016 #if !defined(XALAN_ELEMSORT_HEADER_GUARD) 00017 #define XALAN_ELEMSORT_HEADER_GUARD 00018 00019 00020 00021 // Base include file. Must be first. 00022 #include "XSLTDefinitions.hpp" 00023 00024 00025 00026 // Base class header file. 00027 #include "AVT.hpp" 00028 #include "ElemTemplateElement.hpp" 00029 00030 00031 00032 #include <xalanc/XalanDOM/XalanDOMString.hpp> 00033 00034 00035 00036 XALAN_CPP_NAMESPACE_BEGIN 00037 00038 00039 00040 class XPath; 00041 class AVT; 00042 00043 00044 00045 class ElemSort: public ElemTemplateElement 00046 { 00047 public: 00048 00058 ElemSort( 00059 StylesheetConstructionContext& constructionContext, 00060 Stylesheet& stylesheetTree, 00061 const AttributeListType& atts, 00062 int lineNumber, 00063 int columnNumber); 00064 00065 static ElemSort* 00066 create( 00067 MemoryManagerType& theManager, 00068 StylesheetConstructionContext& constructionContext, 00069 Stylesheet& stylesheetTree, 00070 const AttributeListType& atts, 00071 int lineNumber, 00072 int columnNumber); 00073 00074 ~ElemSort(); 00075 00081 const AVT* 00082 getLangAVT() const 00083 { 00084 return m_langAVT; 00085 } 00086 00092 const AVT* 00093 getOrderAVT() const 00094 { 00095 return m_orderAVT; 00096 } 00097 00103 const AVT* 00104 getCaseOrderAVT() const 00105 { 00106 return m_caseOrderAVT; 00107 } 00108 00114 const AVT* 00115 getDataTypeAVT() const 00116 { 00117 return m_dataTypeAVT; 00118 } 00119 00125 const XPath* 00126 getSelectPattern() const 00127 { 00128 return m_selectPattern; 00129 } 00130 00131 virtual const XalanDOMString& 00132 getElementName() const; 00133 00134 virtual const XPath* 00135 getXPath(unsigned int index = 0) const; 00136 00137 private: 00138 00139 const XPath* m_selectPattern; 00140 00141 const AVT* m_langAVT; 00142 const AVT* m_dataTypeAVT; 00143 const AVT* m_orderAVT; 00144 const AVT* m_caseOrderAVT; 00145 }; 00146 00147 00148 00149 XALAN_CPP_NAMESPACE_END 00150 00151 00152 00153 #endif // XALAN_ELEMSORT_HEADER_GUARD
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
Xalan-C++ XSLT Processor Version 1.10 |
|