| java.lang.Object net.sf.saxon.expr.ComputedExpression net.sf.saxon.expr.FunctionCall net.sf.saxon.functions.SystemFunction
All known Subclasses: net.sf.saxon.functions.InScopePrefixes, net.sf.saxon.functions.QNameFn, net.sf.saxon.functions.CollatingFunction, net.sf.saxon.functions.Component, net.sf.saxon.functions.Lang, net.sf.saxon.functions.Aggregate, net.sf.saxon.functions.Position, net.sf.saxon.functions.Root, net.sf.saxon.functions.NormalizeUnicode, net.sf.saxon.functions.Insert, net.sf.saxon.functions.Remove, net.sf.saxon.functions.Collection, net.sf.saxon.functions.Available, net.sf.saxon.functions.Serialize, net.sf.saxon.functions.Concat, net.sf.saxon.functions.Document, net.sf.saxon.functions.Last, net.sf.saxon.functions.Unicode, net.sf.saxon.functions.Error, net.sf.saxon.functions.CurrentDateTime, net.sf.saxon.functions.Rounding, net.sf.saxon.functions.Tokenize, net.sf.saxon.functions.NamePart, net.sf.saxon.functions.BooleanFn, net.sf.saxon.functions.Replace, net.sf.saxon.functions.ResolveURI, net.sf.saxon.functions.Nilled, net.sf.saxon.functions.ResolveQName, net.sf.saxon.functions.Current, net.sf.saxon.functions.Idref, net.sf.saxon.functions.Existence, net.sf.saxon.functions.StringLength, net.sf.saxon.functions.StringFn, net.sf.saxon.functions.EscapeURI, net.sf.saxon.functions.Substring, net.sf.saxon.functions.Doc, net.sf.saxon.functions.Translate, net.sf.saxon.functions.Evaluate, net.sf.saxon.functions.RegexGroup, net.sf.saxon.functions.StringJoin, net.sf.saxon.functions.SystemProperty, net.sf.saxon.functions.Subsequence, net.sf.saxon.functions.DateTimeConstructor, net.sf.saxon.functions.TreatFn, net.sf.saxon.functions.KeyFn, net.sf.saxon.functions.NormalizeSpace, net.sf.saxon.functions.Parse, net.sf.saxon.functions.NamespaceForPrefix, net.sf.saxon.functions.ForceCase, net.sf.saxon.functions.FormatDate, net.sf.saxon.functions.NumberFn, net.sf.saxon.functions.Adjust, net.sf.saxon.functions.BaseURI, net.sf.saxon.functions.UnparsedText, net.sf.saxon.functions.Trace, net.sf.saxon.functions.UnparsedEntity, net.sf.saxon.functions.Id, net.sf.saxon.functions.CurrentGroup, net.sf.saxon.functions.FormatNumber2, net.sf.saxon.functions.Matches, net.sf.saxon.functions.CompileTimeFunction,
SystemFunction | abstract public class SystemFunction extends FunctionCall (Code) | | Abstract superclass for system-defined and user-defined functions
|
operation | protected int operation(Code) | | |
addContextDocumentArgument | final protected void addContextDocumentArgument(int pos, String augmentedName) throws StaticError(Code) | | Add an implicit argument referring to the context document. Called by functions such as
id() and key() that take the context document as an implicit argument
|
computeCardinality | public int computeCardinality()(Code) | | Determine the cardinality of the function.
|
computeSpecialProperties | public int computeSpecialProperties()(Code) | | Determine the special properties of this expression. The general rule
is that a system function call is non-creative if its return type is
atomic, or if all its arguments are non-creative. This is overridden
for the generate-id() function, which is considered creative if
its operand is creative (because the result depends on the
identity of the operand)
|
getErrorCodeForTypeErrors | public String getErrorCodeForTypeErrors()(Code) | | Return the error code to be used for type errors
|
getItemType | public ItemType getItemType(TypeHierarchy th)(Code) | | Determine the item type of the value returned by the function
Parameters: th - |
getRequiredType | protected SequenceType getRequiredType(int arg)(Code) | | Get the required type of the nth argument
|
main | public static void main(String[] args) throws Exception(Code) | | The main() method of this class is not intended to be called, it merely
tells the code inspection tools in IDEA that the constructors of each
function class are actual entry points
|
makeSystemFunction | public static FunctionCall makeSystemFunction(String name, int arity, NamePool pool)(Code) | | Make a system function (one in the standard function namespace).
Parameters: name - The local name of the function. It may also be a lexical QName fora recognized built-in function, e.g. saxon:evaluate, in which case the prefix is hard-coded. a FunctionCall that implements this function, if itexists, or null if the function is unknown. |
useContextItemAsDefault | final protected void useContextItemAsDefault()(Code) | | Set "." as the default value for the first and only argument. Called from subclasses.
|
|
|