00001 /* 00002 * Copyright (c) 2001-2006 00003 * DecisionSoft Limited. All rights reserved. 00004 * Copyright (c) 2004-2006 00005 * Progress Software Corporation. All rights reserved. 00006 * Copyright (c) 2004-2006 00007 * Oracle. All rights reserved. 00008 * 00009 * See the file LICENSE for redistribution information. 00010 * 00011 * $Id: XercesConfiguration.hpp,v 1.1 2007/02/07 12:13:12 jpcs Exp $ 00012 */ 00013 00014 #ifndef XERCESCONFIGURATION_H 00015 #define XERCESCONFIGURATION_H 00016 00017 #include <xqilla/framework/XQillaExport.hpp> 00018 #include <xqilla/simple-api/XQillaConfiguration.hpp> 00019 #include <xqilla/items/Node.hpp> 00020 00021 XERCES_CPP_NAMESPACE_BEGIN 00022 class DOMNode; 00023 XERCES_CPP_NAMESPACE_END 00024 00025 class XQILLA_API XercesConfiguration : public XQillaConfiguration 00026 { 00027 public: 00028 00036 static const XMLCh gXerces[]; 00037 00038 virtual DocumentCache *createDocumentCache(XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager *memMgr); 00039 00040 virtual SequenceBuilder *createSequenceBuilder(const DynamicContext *context); 00041 00042 virtual ItemFactory *createItemFactory(DocumentCache *cache, 00043 XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager *memMgr); 00044 00045 virtual UpdateFactory *createUpdateFactory(XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager *memMgr); 00046 00047 virtual URIResolver *createDefaultURIResolver(XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager *memMgr); 00048 00049 virtual Node::Ptr createNode(const XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *node, const DynamicContext *context) const; 00050 }; 00051 00052 #endif