lux.functions
Class Function

java.lang.Object
  extended by lux.functions.Function
All Implemented Interfaces:
net.sf.saxon.s9api.ExtensionFunction

public abstract class Function
extends Object
implements net.sf.saxon.s9api.ExtensionFunction

Convenience class for defining extension functions


Constructor Summary
Function(net.sf.saxon.s9api.QName qname, net.sf.saxon.s9api.SequenceType resultType, net.sf.saxon.s9api.SequenceType[] argumentTypes)
           
 
Method Summary
abstract  net.sf.saxon.s9api.XdmValue call(net.sf.saxon.s9api.XdmValue[] arguments)
           
 net.sf.saxon.s9api.SequenceType[] getArgumentTypes()
           
 net.sf.saxon.s9api.QName getName()
           
 net.sf.saxon.s9api.SequenceType getResultType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Function

public Function(net.sf.saxon.s9api.QName qname,
                net.sf.saxon.s9api.SequenceType resultType,
                net.sf.saxon.s9api.SequenceType[] argumentTypes)
Method Detail

getName

public net.sf.saxon.s9api.QName getName()
Specified by:
getName in interface net.sf.saxon.s9api.ExtensionFunction

getResultType

public net.sf.saxon.s9api.SequenceType getResultType()
Specified by:
getResultType in interface net.sf.saxon.s9api.ExtensionFunction

getArgumentTypes

public net.sf.saxon.s9api.SequenceType[] getArgumentTypes()
Specified by:
getArgumentTypes in interface net.sf.saxon.s9api.ExtensionFunction

call

public abstract net.sf.saxon.s9api.XdmValue call(net.sf.saxon.s9api.XdmValue[] arguments)
                                          throws net.sf.saxon.s9api.SaxonApiException
Specified by:
call in interface net.sf.saxon.s9api.ExtensionFunction
Throws:
net.sf.saxon.s9api.SaxonApiException


Copyright © 2013. All Rights Reserved.