Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

XMLParserLiaison.hpp
Go to the documentation of this file.
1 /*
2  * Copyright 1999-2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 #if !defined(XMLPARSERLIAISON_HEADER_GUARD_1357924680)
17 #define XMLPARSERLIAISON_HEADER_GUARD_1357924680
18 
19 
20 
21 // Base include file. Must be first.
23 
24 
25 
27 
28 
29 
30 XALAN_DECLARE_XERCES_CLASS(DocumentHandler)
31 XALAN_DECLARE_XERCES_CLASS(EntityResolver)
32 XALAN_DECLARE_XERCES_CLASS(ErrorHandler)
33 XALAN_DECLARE_XERCES_CLASS(InputSource)
34 
35 
36 
37 XALAN_CPP_NAMESPACE_BEGIN
38 
39 
40 
41 typedef XERCES_CPP_NAMESPACE_QUALIFIER DocumentHandler DocumentHandlerType;
42 typedef XERCES_CPP_NAMESPACE_QUALIFIER EntityResolver EntityResolverType;
43 typedef XERCES_CPP_NAMESPACE_QUALIFIER ErrorHandler ErrorHandlerType;
44 typedef XERCES_CPP_NAMESPACE_QUALIFIER InputSource InputSourceType;
45 
46 class ExecutionContext;
47 class FormatterListener;
48 class XalanAttr;
49 class XalanDocument;
50 class XalanElement;
51 
52 
53 
55 {
56 
57 public:
58 
59  XMLParserLiaison();
60 
61  virtual
62  ~XMLParserLiaison();
63 
64  // These interfaces are inherited from Resettable...
65 
66  virtual void
67  reset() = 0;
68 
69  // These interfaces are new to XMLParserLiaison
70 
71  virtual ExecutionContext*
72  getExecutionContext() const = 0;
73 
74  virtual MemoryManagerType&
75  getMemoryManager() = 0;
76 
77  virtual void
78  setExecutionContext(ExecutionContext& theContext) = 0;
79 
96  virtual XalanDocument*
97  parseXMLStream(
98  const InputSourceType& inputSource,
99  const XalanDOMString& identifier) = 0;
100 
112  virtual void
113  parseXMLStream(
114  const InputSourceType& inputSource,
115  DocumentHandlerType& handler,
116  const XalanDOMString& identifier) = 0;
117 
124  virtual void
125  destroyDocument(XalanDocument* theDocument) = 0;
126 
134  virtual int
135  getIndent() const = 0;
136 
144  virtual void
145  setIndent(int i) = 0;
146 
153  virtual bool
154  getUseValidation() const = 0;
155 
162  virtual void
163  setUseValidation(bool b) = 0;
164 
170  virtual const XalanDOMString&
171  getParserDescription(XalanDOMString& theResult) const = 0;
172 
178  virtual EntityResolverType*
179  getEntityResolver() const = 0;
180 
190  virtual void
191  setEntityResolver(EntityResolverType* resolver) = 0;
192 
198  virtual ErrorHandlerType*
199  getErrorHandler() const = 0;
200 
206  virtual void
207  setErrorHandler(ErrorHandlerType* handler) = 0;
208 
209 private:
210 
211  // Not implemented
212  XMLParserLiaison(const XMLParserLiaison&);
213 
214  XMLParserLiaison&
215  operator=(const XMLParserLiaison&);
216 };
217 
218 
219 
220 XALAN_CPP_NAMESPACE_END
221 
222 
223 
224 #endif // XMLPARSERLIAISON_HEADER_GUARD_1357924680
XALAN_CPP_NAMESPACE_BEGIN typedef XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager MemoryManagerType
Definition: XalanMemoryManagement.hpp:39
Definition: XalanAttr.hpp:38
XERCES_CPP_NAMESPACE_QUALIFIER InputSource InputSourceType
Definition: XMLParserLiaison.hpp:44
Definition: XalanElement.hpp:42
A SAX-based formatter interface for the XSL processor.
Definition: FormatterListener.hpp:62
Definition: ExecutionContext.hpp:45
XERCES_CPP_NAMESPACE_QUALIFIER ErrorHandler ErrorHandlerType
Definition: XalanCompiledStylesheetDefault.hpp:53
#define XALAN_XMLSUPPORT_EXPORT
Definition: XMLSupportDefinitions.hpp:33
Definition: XMLParserLiaison.hpp:54
Definition: XalanDocument.hpp:51
XERCES_CPP_NAMESPACE_QUALIFIER DocumentHandler DocumentHandlerType
Definition: StylesheetConstructionContext.hpp:50
Definition: XalanDOMString.hpp:42
XERCES_CPP_NAMESPACE_QUALIFIER EntityResolver EntityResolverType
Definition: XMLParserLiaison.hpp:42

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

dot

Xalan-C++ XSLT Processor Version 1.10
Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.

Apache Logo