SourceForge.net Logo
XercesConfiguration.hpp
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2001, 2008,
3  * DecisionSoft Limited. All rights reserved.
4  * Copyright (c) 2004, 2011,
5  * Oracle and/or its affiliates. All rights reserved.
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  */
19 
20 #ifndef XERCESCONFIGURATION_H
21 #define XERCESCONFIGURATION_H
22 
23 #include <xqilla/framework/XQillaExport.hpp>
25 #include <xqilla/items/Node.hpp>
26 
27 XERCES_CPP_NAMESPACE_BEGIN
28 class DOMNode;
29 XERCES_CPP_NAMESPACE_END
30 
31 class XQILLA_API XercesConfiguration : public XQillaConfiguration
32 {
33 public:
34 
42  static const XMLCh gXerces[];
43 
44  virtual DocumentCache *createDocumentCache(XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager *memMgr);
45 
46  virtual SequenceBuilder *createSequenceBuilder(const DynamicContext *context);
47 
49  XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager *memMgr);
50 
51  virtual UpdateFactory *createUpdateFactory(XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager *memMgr);
52 
53  virtual URIResolver *createDefaultURIResolver(XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager *memMgr);
54 
55  virtual ASTToXML *createASTToXML();
56 
57  virtual Node::Ptr createNode(const XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *node, const DynamicContext *context) const;
58 };
59 
60 #endif