Package org.basex.query.func
Class FuncDefinition
java.lang.Object
org.basex.query.func.FuncDefinition
Definition of built-in function.
- Author:
- BaseX Team 2005-21, BSD License, Christian Gruen
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionget(StaticContext sc, InputInfo ii, Expr... args) Creates a new function instance.booleanIndicates if an expression has the specified compiler property.byte[]local()Returns the local name of the function.static int[]Computes the minimum and maximum number of arguments by analyzing the description string.toString()byte[]uri()Returns the namespace URI of this function.
-
Field Details
-
seqType
Sequence type.
-
-
Method Details
-
minMax
Computes the minimum and maximum number of arguments by analyzing the description string.- Parameters:
desc- descriptionargs- arguments- Returns:
- min/max values
-
uri
public byte[] uri()Returns the namespace URI of this function.- Returns:
- function
-
has
Indicates if an expression has the specified compiler property.- Parameters:
flag- flag- Returns:
- result of check
- See Also:
-
local
public byte[] local()Returns the local name of the function.- Returns:
- name
-
get
Creates a new function instance.- Parameters:
sc- static contextii- input infoargs- function arguments- Returns:
- function
-
toString
-