01: package net.sf.saxon.query;
02:
03: import net.sf.saxon.functions.FunctionLibrary;
04: import net.sf.saxon.expr.Expression;
05:
06: /**
07: *
08: */
09: public interface XQueryFunctionBinder extends FunctionLibrary {
10:
11: /**
12: * Get the function declaration corresponding to a given function name and arity
13: * @return the XQueryFunction if there is one, or null if not.
14: */
15:
16: public XQueryFunction getDeclaration(int nameCode, String uri,
17: String local, Expression[] staticArgs);
18:
19: }
20:
21: //
22: // The contents of this file are subject to the Mozilla Public License Version 1.0 (the "License");
23: // you may not use this file except in compliance with the License. You may obtain a copy of the
24: // License at http://www.mozilla.org/MPL/
25: //
26: // Software distributed under the License is distributed on an "AS IS" basis,
27: // WITHOUT WARRANTY OF ANY KIND, either express or implied.
28: // See the License for the specific language governing rights and limitations under the License.
29: //
30: // The Original Code is: all this file.
31: //
32: // The Initial Developer of the Original Code is Michael H. Kay.
33: //
34: // Portions created by (your name) are Copyright (C) (your legal entity). All Rights Reserved.
35: //
36: // Contributor(s): none.
37: //
|