xercesc::DOMXPathNSResolver Class Reference

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

#include <DOMXPathNSResolver.hpp>

Inheritance diagram for xercesc::DOMXPathNSResolver:

Inheritance graph
[legend]
List of all members.

Public Member Functions

Destructor
virtual ~DOMXPathNSResolver ()
 Destructor.
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.

Protected Member Functions

Hidden constructors
 DOMXPathNSResolver ()

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.


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.

Implemented in XQillaNSResolver.

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.

Implemented in XQillaNSResolver.


The documentation for this class was generated from the following file:
Generated on Tue Dec 12 00:19:03 2006 for XQilla DOM Level 3 API by  doxygen 1.4.6