00001 /* 00002 * Licensed to the Apache Software Foundation (ASF) under one 00003 * or more contributor license agreements. See the NOTICE file 00004 * distributed with this work for additional information 00005 * regarding copyright ownership. The ASF licenses this file 00006 * to you under the Apache License, Version 2.0 (the "License"); 00007 * you may not use this file except in compliance with the License. 00008 * You may obtain a copy of the License at 00009 * 00010 * http://www.apache.org/licenses/LICENSE-2.0 00011 * 00012 * Unless required by applicable law or agreed to in writing, software 00013 * distributed under the License is distributed on an "AS IS" BASIS, 00014 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00015 * See the License for the specific language governing permissions and 00016 * limitations under the License. 00017 */ 00018 #if !defined(XALAN_FALLBACK_HEADER_GUARD) 00019 #define XALAN_FALLBACK_HEADER_GUARD 00020 00021 00022 // Base include file. Must be first. 00023 #include "XSLTDefinitions.hpp" 00024 00025 00026 00027 // Base class header file. 00028 #include "ElemTemplateElement.hpp" 00029 00030 00031 00032 XALAN_CPP_NAMESPACE_BEGIN 00033 00034 00035 00036 class ElemFallback : public ElemTemplateElement 00037 { 00038 public: 00039 00040 typedef ElemTemplateElement ParentType; 00041 00042 00043 /** 00044 * Construct an object corresponding to an xsl:fallback element 00045 * 00046 * @param constructionContext context for construction of object 00047 * @param stylesheetTree stylesheet containing element 00048 * @param atts the attribute list 00049 * @param lineNumber line number in document 00050 * @param columnNumber column number in document 00051 */ 00052 ElemFallback( 00053 StylesheetConstructionContext& constructionContext, 00054 Stylesheet& stylesheetTree, 00055 const AttributeListType& atts, 00056 XalanFileLoc lineNumber, 00057 XalanFileLoc columnNumber); 00058 00059 virtual 00060 ~ElemFallback(); 00061 00062 // These methods are inherited from ElemTemplateElement ... 00063 00064 virtual const XalanDOMString& 00065 getElementName() const; 00066 00067 #if !defined(XALAN_RECURSIVE_STYLESHEET_EXECUTION) 00068 virtual const ElemTemplateElement* 00069 startElement(StylesheetExecutionContext& executionContext) const; 00070 00071 virtual const ElemTemplateElement* 00072 getFirstChildElemToExecute( 00073 StylesheetExecutionContext& executionContext) const; 00074 00075 virtual const ElemTemplateElement* 00076 getNextChildElemToExecute( 00077 StylesheetExecutionContext& executionContext, 00078 const ElemTemplateElement* currentElem) const; 00079 #else 00080 virtual void 00081 execute(StylesheetExecutionContext& executionContext) const; 00082 #endif 00083 00084 private: 00085 00086 // not implemented 00087 ElemFallback(const ElemFallback&); 00088 00089 ElemFallback& 00090 operator=(const ElemFallback&); 00091 }; 00092 00093 00094 00095 XALAN_CPP_NAMESPACE_END 00096 00097 00098 00099 #endif // XALAN_FALLBACK_HEADER_GUARD
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
Xalan-C++ XSLT Processor Version 1.11 |
|