MXmlEngNamespaceResolver Class Reference

#include <xml/dom/xmlengnamespaceresolver.h>

class MXmlEngNamespaceResolver
Public Member Functions
pure virtual TPtrC8 LookupNamespaceUriL(const TDesC8 &)
pure virtual TPtrC8 LookupPrefixL(const TDesC8 &)

Detailed Description

Provides an interface to query the namespace context of a DOM object.

See also: TXmlEngXPathEvaluator RXmlEngXPathExpression

Member Function Documentation

LookupNamespaceUriL ( const TDesC8 & )

TPtrC8 LookupNamespaceUriL(const TDesC8 &aPrefix)const [pure virtual]

Searches for the namespace URI that is bound to the given prefix.

Parameters
aPrefixThe namespace prefix to search for
Return Value
The sought URI or an empty string if the prefix is not bound
Leave Codes

LookupPrefixL ( const TDesC8 & )

TPtrC8 LookupPrefixL(const TDesC8 &aNamespaceUri)const [pure virtual]

Searches for the prefix that is bound to the given aNamespaceUri and applicable in the scope of this object.

Parameters
aNamespaceUriNamespace URI to search for
Return Value
The sought prefix or an empty string if not found or if aNamespaceUri is the default namespace
Leave Codes