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_ELEMFORWARDCOMPATIBLE_HEADER_GUARD) 00019 #define XALAN_ELEMFORWARDCOMPATIBLE_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 ElemForwardCompatible : public ElemTemplateElement 00037 { 00038 public: 00039 00040 /** 00041 * Construct an object corresponding to an unknown XSLT element 00042 * for forward-compatible processing. 00043 * 00044 * @param constructionContext context for construction of object 00045 * @param stylesheetTree stylesheet containing element 00046 * @param name name of element 00047 * @param atts the attribute list 00048 * @param lineNumber line number in document 00049 * @param columnNumber column number in document 00050 */ 00051 ElemForwardCompatible( 00052 StylesheetConstructionContext& constructionContext, 00053 Stylesheet& stylesheetTree, 00054 const XalanDOMChar* name, 00055 const AttributeListType& atts, 00056 XalanFileLoc lineNumber, 00057 XalanFileLoc columnNumber); 00058 00059 static ElemForwardCompatible* 00060 create( 00061 MemoryManager& theManager, 00062 StylesheetConstructionContext& constructionContext, 00063 Stylesheet& stylesheetTree, 00064 const XalanDOMChar* name, 00065 const AttributeListType& atts, 00066 XalanFileLoc lineNumber, 00067 XalanFileLoc columnNumber); 00068 00069 virtual 00070 ~ElemForwardCompatible(); 00071 00072 // These methods are inherited from ElemTemplateElement ... 00073 00074 virtual const XalanDOMString& 00075 getElementName() const; 00076 00077 #if !defined(XALAN_RECURSIVE_STYLESHEET_EXECUTION) 00078 virtual const ElemTemplateElement* 00079 startElement(StylesheetExecutionContext& executionContext) const; 00080 00081 virtual bool 00082 executeChildElement( 00083 StylesheetExecutionContext& executionContext, 00084 const ElemTemplateElement* element) const; 00085 #else 00086 virtual void 00087 execute(StylesheetExecutionContext& executionContext) const; 00088 #endif 00089 00090 private: 00091 00092 // not implemented 00093 ElemForwardCompatible(const ElemForwardCompatible&); 00094 00095 ElemForwardCompatible& 00096 operator=(const ElemForwardCompatible&); 00097 00098 00099 const XalanDOMString& m_elementName; 00100 }; 00101 00102 00103 00104 XALAN_CPP_NAMESPACE_END 00105 00106 00107 00108 #endif // XALAN_ELEMFORWARDCOMPATIBLE_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 |
|