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.

leave
  • Any system wide error code

ParameterDescription
aPrefixThe namespace prefix to search for

Returns: The sought URI or an empty string if the prefix is not bound

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.

leave
  • Any system wide error code

ParameterDescription
aNamespaceUriNamespace URI to search for

Returns: The sought prefix or an empty string if not found or if aNamespaceUri is the default namespace