SourceForge.net Logo

xercesc::DOMXPathNSResolver Class Reference

The DOMXPathNSResolver interface permit prefix strings in the expression to be properly bound to namespaceURI strings. More...

#include <DOMXPathNSResolver.hpp>

List of all members.

Public Member Functions

Functions introduced in DOM Level 3
virtual const XMLCh * lookupNamespaceURI (const XMLCh *prefix) const =0
 Look up the namespace URI associated to the given namespace prefix.
Non-standard extension
virtual const XMLCh * lookupPrefix (const XMLCh *URI) const=0
 Non-standard extension.


Detailed Description

The DOMXPathNSResolver interface permit prefix strings in the expression to be properly bound to namespaceURI strings.

DOMXPathEvaluator can construct an implementation of DOMXPathNSResolver from a node, or the interface may be implemented by any application.

Since:
DOM Level 3


Constructor & Destructor Documentation

xercesc::DOMXPathNSResolver::DOMXPathNSResolver (  )  [inline, protected]

virtual xercesc::DOMXPathNSResolver::~DOMXPathNSResolver (  )  [inline, virtual]

Destructor.

xercesc::DOMXPathNSResolver::DOMXPathNSResolver (  )  [inline, protected]

virtual xercesc::DOMXPathNSResolver::~DOMXPathNSResolver (  )  [inline, virtual]

Destructor.


Member Function Documentation

virtual const XMLCh* xercesc::DOMXPathNSResolver::lookupNamespaceURI ( const XMLCh *  prefix  )  const [pure virtual]

Look up the namespace URI associated to the given namespace prefix.

The XPath evaluator must never call this with a null or empty argument, because the result of doing this is undefined.

Parameters:
prefix of type XMLCh - The prefix to look for.
Returns:
the associated namespace URI or null if none is found.

virtual const XMLCh* xercesc::DOMXPathNSResolver::lookupPrefix ( const XMLCh *  URI  )  const [pure virtual]

Non-standard extension.

XPath2 implementations require a reverse lookup in the static context. Look up the prefix associated with the namespace URI The XPath evaluator must never call this with a null or empty argument, because the result of doing this is undefined.

Parameters:
URI of type XMLCh - The namespace to look for.
Returns:
the associated prefix or null if none is found.


The documentation for this class was generated from the following file:
Generated on Mon Apr 28 16:41:13 2008 for XQilla Simple API by  doxygen 1.5.1