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, 2015 Oracle and/or its affiliates. All rights reserved.
5  *
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
XQillaConfiguration::createSequenceBuilder
virtual SequenceBuilder * createSequenceBuilder(const DynamicContext *context)=0
RefCountPointer
Super class of all the reference counted wrappers for Items.
Definition: ReferenceCounted.hpp:61
DynamicContext
The execution time dynamic context interface.
Definition: DynamicContext.hpp:38
XQillaConfiguration::createDefaultURIResolver
virtual URIResolver * createDefaultURIResolver(xercesc::MemoryManager *memMgr)=0
SequenceBuilder
Definition: SequenceBuilder.hpp:31
XercesConfiguration
Definition: XercesConfiguration.hpp:31
DocumentCache
Expression Context is a storage for contexts.
Definition: DocumentCache.hpp:52
XQillaConfiguration::createUpdateFactory
virtual UpdateFactory * createUpdateFactory(xercesc::MemoryManager *memMgr)=0
UpdateFactory
Definition: UpdateFactory.hpp:32
XQillaConfiguration
Definition: XQillaConfiguration.hpp:38
XQillaConfiguration.hpp
XQillaConfiguration::createDocumentCache
virtual DocumentCache * createDocumentCache(xercesc::MemoryManager *memMgr)=0
URIResolver
This is an abstract class used to resolve URIs in different ways.
Definition: URIResolver.hpp:37
Node.hpp
XQillaConfiguration::createASTToXML
virtual ASTToXML * createASTToXML()=0
ItemFactory
Definition: ItemFactory.hpp:50
XQillaConfiguration::createItemFactory
virtual ItemFactory * createItemFactory(DocumentCache *cache, xercesc::MemoryManager *memMgr)=0