public Object extFunction(final FuncExtFunction _extFunction, Vector _argVec)
throws TransformerException
{
final String ns = _extFunction.getNamespace();
final String name = _extFunction.getFunctionName();
final Function func = fFunctionContext.resolveFunction(new QName(ns, name), 0);
if (func == null)
throw new RuntimeException("Can't find function " + name + " (namespace: " + ns + ")");
for (int i=0; i<_argVec.size(); ++i)
{
try
{
func.setArg(XObjectFactory.create(_argVec.get(i)), i);
}
catch (final WrongNumberArgsException e)
{
throw new RuntimeException(e);
}
}
return func.execute(contexts[0]);
}
public Object extFunction(String _ns, String _funcName, Vector _argVec,
Object _methodKey) throws TransformerException
{
return null;