SourceForge.net Logo
List of all members
XQillaNSResolver Class Referenceabstract

The XQillaNSResolver interface extends the DOMXPathNSResolver providing the ability to add additional namespace bindings. More...

#include <XQillaNSResolver.hpp>

Inheritance diagram for XQillaNSResolver:
Inheritance graph
[legend]

Public Member Functions

Non-standard Extension
virtual void addNamespaceBinding (const XMLCh *prefix, const XMLCh *uri)=0
 Non-standard extension. More...
 
virtual const XMLCh * lookupNamespaceURI (const XMLCh *prefix) const =0
 Look up the namespace URI associated to the given namespace prefix. More...
 
virtual const XMLCh * lookupPrefix (const XMLCh *uri) const =0
 Non-standard extension. More...
 
virtual void release ()=0
 Called to indicate that this object (and its associated children) is no longer in use and that the implementation may relinquish any resources associated with it and its associated children. More...
 
- Public Member Functions inherited from xercesc::DOMXPathNSResolver
virtual ~DOMXPathNSResolver ()
 Destructor. More...
 

Protected Member Functions

Hidden constructors
 XQillaNSResolver ()
 
- Protected Member Functions inherited from xercesc::DOMXPathNSResolver
 DOMXPathNSResolver ()
 

Detailed Description

The XQillaNSResolver interface extends the DOMXPathNSResolver providing the ability to add additional namespace bindings.

Since
DOM Level 3

Constructor & Destructor Documentation

XQillaNSResolver::XQillaNSResolver ( )
inlineprotected

Member Function Documentation

virtual void XQillaNSResolver::addNamespaceBinding ( const XMLCh *  prefix,
const XMLCh *  uri 
)
pure virtual

Non-standard extension.

XQilla requires additional bindings of namespaces. This method will bind the given prefix to the associated namespace.

Parameters
prefixof type XMLCh - The prefix to bind.
URIof type XMLCh - The associated namespace.

Implements xercesc::DOMXPathNSResolver.

virtual const XMLCh* XQillaNSResolver::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
prefixof type XMLCh - The prefix to look for.
Returns
the associated namespace URI or null if none is found.

Implements xercesc::DOMXPathNSResolver.

virtual const XMLCh* XQillaNSResolver::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
URIof type XMLCh - The namespace to look for.
Returns
the associated prefix or null if none is found.

Implements xercesc::DOMXPathNSResolver.

virtual void XQillaNSResolver::release ( )
pure virtual

Called to indicate that this object (and its associated children) is no longer in use and that the implementation may relinquish any resources associated with it and its associated children.

Access to a released object will lead to unexpected result.

Implements xercesc::DOMXPathNSResolver.


The documentation for this class was generated from the following file: