# XQillaNSResolver.hpp

Go to the documentation of this file.

    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: XQillaNSResolver.hpp,v 1.5 2006/11/01 16:37:12 jpcs Exp $
    00012  */
    00013
    00014 #ifndef __XQILLANSRESOLVER_HPP
    00015 #define __XQILLANSRESOLVER_HPP
    00016
    00017 #include <xqilla/framework/XQillaExport.hpp>
    00018 #include <xercesc/dom/DOMXPathNSResolver.hpp>
    00019
    00020 XERCES_CPP_NAMESPACE_BEGIN
    00021 class XercesDefs;
    00022 class DOMNode;
    00023 XERCES_CPP_NAMESPACE_END
    00024
    00025 class XPath2MemoryManager;
    00026
    00032 class XQILLA_API XQillaNSResolver : public XERCES_CPP_NAMESPACE_QUALIFIER DOMXPathNSResolver
    00033 {
    00034 public:
    00035
    00036   // -----------------------------------------------------------------------
    00037   // Non-standard extension
    00038   // -----------------------------------------------------------------------
    00041
    00050   virtual void addNamespaceBinding(const XMLCh* prefix, const XMLCh* uri) = 0;
    00051
    00058   virtual const XMLCh* lookupNamespaceURI(const XMLCh* prefix) const = 0;
    00059
    00070   virtual const XMLCh* lookupPrefix(const XMLCh* uri) const = 0;
    00071
    00073
    00082   virtual void release() = 0;
    00084
    00085 protected:
    00086   // -----------------------------------------------------------------------
    00087   //  Hidden constructors
    00088   // -----------------------------------------------------------------------
    00091         XQillaNSResolver() {};
    00093 };//XQillaNSResolver
    00094
    00095
    00096 #endif //__XQILLANSRESOLVER_HPP