00001 /*00002 * Licensed to the Apache Software Foundation (ASF) under one00003 * or more contributor license agreements. See the NOTICE file00004 * distributed with this work for additional information00005 * regarding copyright ownership. The ASF licenses this file00006 * 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 at00009 *00010 * http://www.apache.org/licenses/LICENSE-2.000011 *00012 * Unless required by applicable law or agreed to in writing, software00013 * 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 and00016 * limitations under the License.00017 */00018 #if !defined(XALANCOMPILEDSTYLESHEET_HEADER_GUARD)00019 #define XALANCOMPILEDSTYLESHEET_HEADER_GUARD00020
00021
00022
00023 // Base include file. Must be first.00024 #include <xalanc/XalanTransformer/XalanTransformerDefinitions.hpp>00025
00026
00027
00028 XALAN_CPP_NAMESPACE_BEGIN
00029
00030
00031
00032 class StylesheetRoot;
00033
00034
00035
00036 /**00037 * This is an abstraction of the StylesheetRoot class. It is designed00038 * to allow a XalanTranfomer object to reuse a compliled stylesheet. 00039 */00040class XALAN_TRANSFORMER_EXPORTXalanCompiledStylesheet00041 {
00042 public:
00043
00044 virtual00045~XalanCompiledStylesheet() {}
00046
00047 virtualconstStylesheetRoot*
00048 getStylesheetRoot() const = 0;
00049 };
00050
00051
00052
00053 XALAN_CPP_NAMESPACE_END
00054
00055
00056
00057 #endif // XALANCOMPILEDSTYLESHEET_HEADER_GUARD