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 
45 namespace XERCES_CPP_NAMESPACE
46 {
47  class EntityResolver;
48  class ErrorHandler;
49 }
50 
51 
52 
53 namespace XALAN_CPP_NAMESPACE {
54 
55 
56 
57 typedef xercesc::EntityResolver EntityResolverType;
58 typedef xercesc::ErrorHandler ErrorHandlerType;
59 
60 using xercesc::EntityResolver;
61 using xercesc::ErrorHandler;
62 
63 
65 {
66 public:
67 
69  MemoryManager& theManager,
70  const XSLTInputSource& theStylesheetSource,
71  XSLTEngineImpl& theProcessor,
72  ErrorHandler* theErrorHandler = 0,
73  EntityResolver* theEntityResolver = 0);
74 
75 
77  create(
78  MemoryManager& theManager,
79  const XSLTInputSource& theStylesheetSource,
80  XSLTEngineImpl& theProcessor,
81  ErrorHandler* theErrorHandler = 0,
82  EntityResolver* theEntityResolver = 0);
83 
84  virtual
86 
87  virtual const StylesheetRoot*
88  getStylesheetRoot() const;
89 
90 private:
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
XALAN_CPP_NAMESPACE
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
Definition: XalanVersion.hpp:76
xalanc::XalanCompiledStylesheet
This is an abstraction of the StylesheetRoot class.
Definition: XalanCompiledStylesheet.hpp:40
StylesheetRoot.hpp
xalanc::ErrorHandlerType
xercesc::ErrorHandler ErrorHandlerType
Definition: XalanCompiledStylesheetDefault.hpp:58
xalanc::XSLTEngineImpl
It's the responsibility of the XSLTEngineImpl class, collaborating with the XML parser liaison,...
Definition: XSLTEngineImpl.hpp:131
XSLTInputSource.hpp
xalanc::XSLTInputSource
Definition: XSLTInputSource.hpp:62
XPathFactoryBlock.hpp
XSLTEngineImpl.hpp
xalanc::XalanCompiledStylesheetDefault
Definition: XalanCompiledStylesheetDefault.hpp:64
StylesheetExecutionContextDefault.hpp
xalanc::EntityResolverType
xercesc::EntityResolver EntityResolverType
Definition: XalanCompiledStylesheetDefault.hpp:57
xalanc::XPathFactoryBlock
Definition: XPathFactoryBlock.hpp:41
xalanc::StylesheetRoot
This acts as the stylesheet root of the stylesheet tree, and holds values that are shared by all styl...
Definition: StylesheetRoot.hpp:63
xalanc::StylesheetConstructionContextDefault
An default implementation of an abtract class which provides support for constructing the internal re...
Definition: StylesheetConstructionContextDefault.hpp:100
StylesheetConstructionContextDefault.hpp
XALAN_TRANSFORMER_EXPORT
#define XALAN_TRANSFORMER_EXPORT
Definition: XalanTransformerDefinitions.hpp:39
XalanCompiledStylesheet.hpp
XalanTransformerDefinitions.hpp
XSLTProcessorEnvSupportDefault.hpp