Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

XercesDOMParsedSource.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(XERCESDOMPARSEDSOURCE_HEADER_GUARD)
17 #define XERCESDOMPARSEDSOURCE_HEADER_GUARD
18 
19 
20 
21 // Base include file. Must be first.
23 
24 
25 
28 
29 
30 
32 
33 
34 
35 XALAN_CPP_NAMESPACE_BEGIN
36 
37 
38 
40 {
41 public:
42 
44 
46 
48  create(MemoryManagerType& theManager);
49 
50  virtual DOMSupport&
51  getDOMSupport();
52 
53  virtual XMLParserLiaison&
55 
56 private:
57 
58  XercesDOMSupport m_domSupport;
59 
60  XercesParserLiaison m_parserLiaison;
61 };
62 
63 
64 
70 {
71 public:
72 
74  const InputSourceType& theInputSource,
75  bool fValidate = false,
76  ErrorHandlerType* theErrorHandler = 0,
77  EntityResolverType* theEntityResolver = 0,
78  const XalanDOMChar* theExternalSchemaLocation = 0,
79  const XalanDOMChar* theExternalNoNamespaceSchemaLocation = 0,
81 
82  static XercesDOMParsedSource*
83  create(
84  MemoryManagerType& theManager,
85  const InputSourceType& theInputSource,
86  bool fValidate = false,
87  ErrorHandlerType* theErrorHandler = 0,
88  EntityResolverType* theEntityResolver = 0,
89  const XalanDOMChar* theExternalSchemaLocation = 0,
90  const XalanDOMChar* theExternalNoNamespaceSchemaLocation = 0);
91 
92  virtual
94 
95  virtual XalanDocument*
96  getDocument() const;
97 
100 
101  virtual const XalanDOMString&
102  getURI() const;
103 
104 private:
105 
106  XercesParserLiaison m_parserLiaison;
107 
108  XalanDocument* m_parsedSource;
109 
110  XalanDOMString m_uri;
111 };
112 
113 
114 
115 XALAN_CPP_NAMESPACE_END
116 
117 
118 
119 #endif // XERCESDOMPARSEDSOURCE_HEADER_GUARD
#define XALAN_DEFAULT_CONSTRACTOR_MEMORY_MGR
Definition: XalanMemoryManagement.hpp:401
Definition: XercesDOMSupport.hpp:35
XALAN_CPP_NAMESPACE_BEGIN typedef XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager MemoryManagerType
Definition: XalanMemoryManagement.hpp:39
virtual XMLParserLiaison & getParserLiaison()=0
Get the XMLParserLiaison instance.
Definition: DOMSupport.hpp:39
virtual XalanDocument * getDocument() const =0
Get a pointer to the XalanDocument instance for the source document.
XERCES_CPP_NAMESPACE_QUALIFIER InputSource InputSourceType
Definition: XMLParserLiaison.hpp:44
virtual const XalanDOMString & getURI() const =0
Get the URI for the parsed source, if any.
#define XALAN_DEFAULT_MEMMGR
Definition: XalanMemoryManagement.hpp:402
XERCES_CPP_NAMESPACE_QUALIFIER ErrorHandler ErrorHandlerType
Definition: XalanCompiledStylesheetDefault.hpp:53
virtual DOMSupport & getDOMSupport()=0
Get the DOMSupport instance.
Definition: XercesParserLiaison.hpp:70
Definition: XalanParsedSource.hpp:43
virtual XalanParsedSourceHelper * createHelper(MemoryManagerType &theManager XALAN_DEFAULT_CONSTRACTOR_MEMORY_MGR) const =0
Create the appropriate XalanParsedSourceHelper instance to use for transforming with the instance...
This is abstract base class designed to allow a XalanTranfomer object to reuse a parsed document...
Definition: XalanParsedSource.hpp:75
Definition: XMLParserLiaison.hpp:54
Definition: XalanDocument.hpp:51
Definition: XercesDOMParsedSource.hpp:39
Definition: XalanDOMString.hpp:42
XERCES_CPP_NAMESPACE_QUALIFIER EntityResolver EntityResolverType
Definition: XMLParserLiaison.hpp:42
#define XALAN_TRANSFORMER_EXPORT
Definition: XalanTransformerDefinitions.hpp:37
This is designed to allow a XalanTranfomer object to reuse a parsed document.
Definition: XercesDOMParsedSource.hpp:69

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