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 at00007 *00008 * http://www.apache.org/licenses/LICENSE-2.000009 *00010 * Unless required by applicable law or agreed to in writing, software00011 * 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 and00014 * limitations under the License.00015 */00016 #if !defined(XALAN_AVTPART_HEADER_GUARD)00017#define XALAN_AVTPART_HEADER_GUARD 00018
00026 // Base include file. Must be first.00027 #include "XSLTDefinitions.hpp"00028
00029
00030
00031 XALAN_CPP_NAMESPACE_BEGIN
00032
00033
00034
00035 class XalanDOMString;
00036 class XalanNode;
00037 class PrefixResolver;
00038 class XPathExecutionContext;
00039
00040
00041
00046class AVTPart00047 {
00048 public:
00049
00050 AVTPart();
00051
00052 virtual00053 ~AVTPart();
00054
00063 virtualvoid00064 evaluate(
00065 XalanDOMString& buf,
00066 XalanNode* contextNode,
00067 constPrefixResolver& prefixResolver,
00068 XPathExecutionContext& executionContext) const = 0;
00069
00077 virtualvoid00078 evaluate(
00079 XalanDOMString& buf,
00080 constPrefixResolver& prefixResolver,
00081 XPathExecutionContext& executionContext) const = 0;
00082 };
00083
00084
00085
00086 XALAN_CPP_NAMESPACE_END
00087
00088
00089
00090 #endif //XALAN_AVTPART_HEADER_GUARD