XQuilla/include/xqilla/simple-api/XQillaConfiguration.hpp

55 lines
1.6 KiB
C++
Raw Normal View History

2020-02-17 21:11:31 +00:00
/*
* Copyright (c) 2001-2006
* DecisionSoft Limited. All rights reserved.
* Copyright (c) 2004-2006
* Progress Software Corporation. All rights reserved.
* Copyright (c) 2004-2006
* Oracle. All rights reserved.
*
* See the file LICENSE for redistribution information.
*
* $Id: XQillaConfiguration.hpp,v 1.1 2007/02/07 12:13:11 jpcs Exp $
*/
#ifndef XQILLACONFIGURATION_H
#define XQILLACONFIGURATION_H
#include <xqilla/framework/XQillaExport.hpp>
#include <xqilla/simple-api/XQilla.hpp>
#include <xercesc/framework/MemoryManager.hpp>
#include <xercesc/util/XMemory.hpp>
class DocumentCache;
class SequenceBuilder;
class ItemFactory;
class UpdateFactory;
class URIResolver;
class StaticContext;
class DynamicContext;
class XQILLA_API XQillaConfiguration : public XERCES_CPP_NAMESPACE_QUALIFIER XMemory
{
public:
virtual ~XQillaConfiguration() {}
virtual DocumentCache *createDocumentCache(XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager *memMgr) = 0;
virtual SequenceBuilder *createSequenceBuilder(const DynamicContext *context) = 0;
virtual ItemFactory *createItemFactory(DocumentCache *cache,
XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager *memMgr) = 0;
virtual UpdateFactory *createUpdateFactory(XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager *memMgr) = 0;
virtual URIResolver *createDefaultURIResolver(XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager *memMgr) = 0;
virtual void populateStaticContext(StaticContext *context) {}
virtual void populateDynamicContext(DynamicContext *context) {}
virtual void testInterrupt() {}
};
#endif