net.sf.saxon.functions
Class StandardFunction

java.lang.Object
  extended by net.sf.saxon.functions.StandardFunction

public abstract class StandardFunction
extends Object

This class contains data tables defining the behavior of standard functions. "Standard functions" here means the XPath 2.0 functions, the XSLT 2.0 functions, and a few selected extension functions which need special recognition.


Nested Class Summary
static class StandardFunction.Entry
           
 
Field Summary
(package private) static HashMap functionTable
           
protected static ItemType SAME_AS_FIRST_ARGUMENT
           
 
Constructor Summary
StandardFunction()
           
 
Method Summary
(package private) static void arg(StandardFunction.Entry e, int a, ItemType type, int cardinality)
           
static StandardFunction.Entry getFunction(String name)
           
static StandardFunction.Entry register(String name, Class implementationClass, int opcode, int minArguments, int maxArguments, ItemType itemType, int cardinality)
          Register system function.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

functionTable

static HashMap functionTable

SAME_AS_FIRST_ARGUMENT

protected static ItemType SAME_AS_FIRST_ARGUMENT
Constructor Detail

StandardFunction

public StandardFunction()
Method Detail

register

public static StandardFunction.Entry register(String name,
                                              Class implementationClass,
                                              int opcode,
                                              int minArguments,
                                              int maxArguments,
                                              ItemType itemType,
                                              int cardinality)
Register system function.


arg

static void arg(StandardFunction.Entry e,
                int a,
                ItemType type,
                int cardinality)

getFunction

public static StandardFunction.Entry getFunction(String name)