Xalan-C++ API Reference 1.12.0
XalanCompiledStylesheetDefault.hpp
Go to the documentation of this file.
1/*
2 * Licensed to the Apache Software Foundation (ASF) under one
3 * or more contributor license agreements. See the NOTICE file
4 * distributed with this work for additional information
5 * regarding copyright ownership. The ASF licenses this file
6 * to you under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 */
18#if !defined(XALANCOMPILEDSTYLESHEETDEFAULT_HEADER_GUARD)
19#define XALANCOMPILEDSTYLESHEETDEFAULT_HEADER_GUARD
20
21
22
23// Base include file. Must be first.
25
26
27
29
30
31
38
39
40
42
43
44
45namespace XERCES_CPP_NAMESPACE
46{
47 class EntityResolver;
48 class ErrorHandler;
49}
50
51
52
53namespace XALAN_CPP_NAMESPACE {
54
55
56
57typedef xercesc::EntityResolver EntityResolverType;
58typedef xercesc::ErrorHandler ErrorHandlerType;
59
60using xercesc::EntityResolver;
61using xercesc::ErrorHandler;
62
63
65{
66public:
67
69 MemoryManager& theManager,
72 ErrorHandler* theErrorHandler = 0,
73 EntityResolver* theEntityResolver = 0);
74
75
78 MemoryManager& theManager,
81 ErrorHandler* theErrorHandler = 0,
82 EntityResolver* theEntityResolver = 0);
83
84 virtual
86
87 virtual const StylesheetRoot*
89
90private:
91
92 XPathFactoryBlock m_stylesheetXPathFactory;
93
94 StylesheetConstructionContextDefault m_stylesheetConstructionContext;
95
96 const StylesheetRoot* const m_stylesheetRoot;
97};
98
99
100
101}
102
103
104
105#endif // XALANCOMPILEDSTYLESHEETDEFAULT_HEADER_GUARD
#define XALAN_TRANSFORMER_EXPORT
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
An default implementation of an abtract class which provides support for constructing the internal re...
This acts as the stylesheet root of the stylesheet tree, and holds values that are shared by all styl...
It's the responsibility of the XSLTEngineImpl class, collaborating with the XML parser liaison,...
XalanCompiledStylesheetDefault(MemoryManager &theManager, const XSLTInputSource &theStylesheetSource, XSLTEngineImpl &theProcessor, ErrorHandler *theErrorHandler=0, EntityResolver *theEntityResolver=0)
virtual const StylesheetRoot * getStylesheetRoot() const
static XalanCompiledStylesheetDefault * create(MemoryManager &theManager, const XSLTInputSource &theStylesheetSource, XSLTEngineImpl &theProcessor, ErrorHandler *theErrorHandler=0, EntityResolver *theEntityResolver=0)
This is an abstraction of the StylesheetRoot class.
xercesc::ErrorHandler ErrorHandlerType
xercesc::EntityResolver EntityResolverType