XmlResolver::resolveExternalFunction API Ref

#include <DbXml.hpp>

virtual XmlExternalFunction *XmlResolver::resolveExternalFunction( XmlTransaction *txn, XmlManager &mgr, const std::string &uri, const std::string &name, size_t numberOfArgs) const


Description: XmlResolver::resolveExternalFunction

When implemented this method resolves a unigue combination of function URI, function name and number of arguments into an instance of XmlExternalFunction used to implement an XQuery extension function. If the URI, name and arguments cannot be resolved NULL is returned. It may return a singleton or a new instance. Memory management of the returned object depends on the implementation of the XmlResolver and the XmlExternalFunction instance. Singletons are usually owned by XmlResolver while new instances must be deleted by XmlExternalFunction::close.

Parameters
txn mgr uri name numberOfArgs

APIRef

Copyright (c) 1996-2009 Oracle. All rights reserved.