jd.xml.xslt.expr
Class XsltFunctionType

java.lang.Object
  extended byjd.xml.xpath.expr.function.FunctionType
      extended byjd.xml.xslt.expr.XsltFunctionType

public class XsltFunctionType
extends FunctionType

A FunctionType for XsltFunctions.


Field Summary
 
Fields inherited from class jd.xml.xpath.expr.function.FunctionType
maxArgumentCount, minArgumentCount, name
 
Constructor Summary
XsltFunctionType(String name, int argumentCount)
          Create a FunctionType with a fixed number of arguments.
XsltFunctionType(String name, int minArgumentCount, int maxArgumentCount)
          Create a FunctionType with a variable number of arguments.
 
Method Summary
 Function copyFunction(Function function)
          Create a copy of the function.
 
Methods inherited from class jd.xml.xpath.expr.function.FunctionType
checkArgumentCount, getContextDependencies, isFunctionInstance, normArguments
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XsltFunctionType

public XsltFunctionType(String name,
                        int argumentCount)
Create a FunctionType with a fixed number of arguments.


XsltFunctionType

public XsltFunctionType(String name,
                        int minArgumentCount,
                        int maxArgumentCount)
Create a FunctionType with a variable number of arguments.

Method Detail

copyFunction

public Function copyFunction(Function function)
                      throws InstantiationException,
                             ClassNotFoundException,
                             IllegalAccessException
Create a copy of the function.

Overrides:
copyFunction in class FunctionType
Throws:
InstantiationException
ClassNotFoundException
IllegalAccessException