XmlEngXPathConfiguration Class Reference
#include
<xml/dom/xmlengxpathconfiguration.h>
class XmlEngXPathConfiguration |
Member Function Documentation
AddExtensionFunctionL ( const TXmlEngExtensionFunctionDescriptor & )
Registers an extension function at the global scope.
Parameters |
---|
aFuncDes | Function descriptor. |
Leave Codes |
---|
KXmlEngErrWrongUseOfAPI | Error initializing XPath context |
KXmlEngErrXPathResult | Error adding function |
| |
AddExtensionFunctionVectorL ( const RArray< TXmlEngExtensionFunctionDescriptor > &, TUint )
Registers a set of extension functions at the global scope.
Parameters |
---|
aFuncVector | Vector with function descriptors. Ownership is not transferred. |
aSize | The size of the vector |
Leave Codes |
---|
KXmlEngErrWrongUseOfAPI | Error initializing XPath context |
KXmlEngErrXPathResult | Error adding function |
| |
AddNativeExtensionFunctionL ( const TXmlEngExtensionFunctionDescriptor & )
Registers a native extension function at the global scope.
Parameters |
---|
aNativeFuncDes | Function descriptor. |
Leave Codes |
---|
KXmlEngErrWrongUseOfAPI | Error initializing XPath context |
KXmlEngErrXPathResult | Error adding function |
| |
AddNativeExtensionFunctionVectorL ( const RArray< TXmlEngExtensionFunctionDescriptor > &, TUint )
Registers a set of native extension functions at the global scope.
Parameters |
---|
aNativeFuncVector | Function descriptor. |
aSize | The size of the vector |
Leave Codes |
---|
KXmlEngErrWrongUseOfAPI | Error initializing XPath context |
KXmlEngErrXPathResult | Error adding function |
| |
IsFunctionSupportedL ( const TDesC8 &, const TDesC8 & )
IMPORT_C TBool | IsFunctionSupportedL | ( | const TDesC8 & | aFunc, |
| const TDesC8 & | aNsUri |
| ) | [static] |
Check if XPath extension function is supported.
Parameters |
---|
aFunc | Function name |
aNsUri | Function namespace URI |
- Return Value
- ETrue if supported, EFalse otherwise
RemoveExtensionFunction ( const TXmlEngExtensionFunctionDescriptor & )
Deregisters an extension function. No error is generated if the extension function is not found.
Parameters |
---|
aFuncDes | Function descriptor. |
RemoveExtensionFunctionVector ( const RArray< TXmlEngExtensionFunctionDescriptor > &, TUint )
Deregisters a set of extension functions. No error is generated if an extension function in the vector is not found.
Parameters |
---|
aFuncVector | Vector with function descriptors. |
aSize | The size of the vector |
ResetExtensionFunctionsL ( )
IMPORT_C void | ResetExtensionFunctionsL | ( | ) | [static] |
Disables support of any previously registered extension functions and switches to support only the XPath Function Library.
Leave Codes |
---|
KErrNoMemory | Memory allocation failure |
Unused_Func1 ( TBool )
IMPORT_C void | Unused_Func1 | ( | TBool | aEnable | ) | [static] |