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_AVTPART_HEADER_GUARD) 00019 #define XALAN_AVTPART_HEADER_GUARD 00020 00021 00022 00023 // Base include file. Must be first. 00024 #include "XSLTDefinitions.hpp" 00025 00026 00027 00028 XALAN_CPP_NAMESPACE_BEGIN 00029 00030 00031 00032 class XalanDOMString; 00033 class XalanNode; 00034 class PrefixResolver; 00035 class XPathExecutionContext; 00036 00037 00038 00039 /** 00040 * Class to hold a part, either a string or XPath, 00041 * of an Attribute Value Template. 00042 */ 00043 class AVTPart 00044 { 00045 public: 00046 00047 AVTPart(); 00048 00049 virtual 00050 ~AVTPart(); 00051 00052 /** 00053 * Append the value to the buffer. 00054 * 00055 * @param buf buffer to write into 00056 * @param contextNode current context node 00057 * @param prefixResolver prefix resolver to use 00058 * @param executionContext execution context 00059 */ 00060 virtual void 00061 evaluate( 00062 XalanDOMString& buf, 00063 XalanNode* contextNode, 00064 const PrefixResolver& prefixResolver, 00065 XPathExecutionContext& executionContext) const = 0; 00066 00067 /** 00068 * Append the value to the buffer. 00069 * 00070 * @param buf buffer to write into 00071 * @param prefixResolver prefix resolver to use 00072 * @param executionContext execution context 00073 */ 00074 virtual void 00075 evaluate( 00076 XalanDOMString& buf, 00077 const PrefixResolver& prefixResolver, 00078 XPathExecutionContext& executionContext) const = 0; 00079 }; 00080 00081 00082 00083 XALAN_CPP_NAMESPACE_END 00084 00085 00086 00087 #endif //XALAN_AVTPART_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 |
|