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_ELEMEXTENSIONCALL_HEADER_GUARD) 00017 #define XALAN_ELEMEXTENSIONCALL_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 "ElemLiteralResult.hpp" 00028 00029 00030 00031 XALAN_CPP_NAMESPACE_BEGIN 00032 00033 00034 00035 class ExtensionNSHandler; 00036 class XalanQName; 00037 00038 00039 00040 class ElemExtensionCall: public ElemLiteralResult 00041 { 00042 public: 00043 00055 ElemExtensionCall( 00056 StylesheetConstructionContext& constructionContext, 00057 Stylesheet& stylesheetTree, 00058 const XalanDOMChar* name, 00059 const AttributeListType& atts, 00060 int lineNumber, 00061 int columnNumber, 00062 ExtensionNSHandler& ns); 00063 00064 static ElemExtensionCall* 00065 create( 00066 MemoryManagerType& theManager, 00067 StylesheetConstructionContext& constructionContext, 00068 Stylesheet& stylesheetTree, 00069 const XalanDOMChar* name, 00070 const AttributeListType& atts, 00071 int lineNumber, 00072 int columnNumber, 00073 ExtensionNSHandler& ns); 00074 00075 // These methods are inherited from ElemLiteralResult ... 00076 00077 #if !defined(XALAN_RECURSIVE_STYLESHEET_EXECUTION) 00078 virtual const ElemTemplateElement* 00079 startElement(StylesheetExecutionContext& executionContext) const; 00080 00081 virtual void 00082 endElement(StylesheetExecutionContext& executionContext) const; 00083 00084 virtual bool 00085 executeChildElement( 00086 StylesheetExecutionContext& executionContext, 00087 const ElemTemplateElement* element) const; 00088 00089 #else 00090 virtual void 00091 execute(StylesheetExecutionContext& executionContext) const; 00092 #endif 00093 00094 bool 00095 elementAvailable(StylesheetExecutionContext& executionContext) const; 00096 00097 private: 00098 00099 const XalanQName* const m_qname; 00100 00101 ExtensionNSHandler& m_nsh; 00102 }; 00103 00104 00105 00106 XALAN_CPP_NAMESPACE_END 00107 00108 00109 00110 #endif // XALAN_ELEMEXTENSIONCALL_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 |
|