|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.saxon.instruct.UserFunctionParameter
public class UserFunctionParameter
Run-time object representing a formal argument to a user-defined function
Constructor Summary | |
---|---|
UserFunctionParameter()
|
Method Summary | |
---|---|
Value |
evaluateVariable(XPathContext context)
Evaluate the variable |
SequenceType |
getRequiredType()
Get the static type of the variable binding |
String |
getVariableName()
Get the display name of the variable (for diagnostics only) |
void |
setRequiredType(SequenceType type)
|
void |
setSlotNumber(int slot)
|
void |
setVariableName(String name)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserFunctionParameter()
Method Detail |
---|
public void setRequiredType(SequenceType type)
public SequenceType getRequiredType()
Binding
getRequiredType
in interface Binding
public void setSlotNumber(int slot)
public Value evaluateVariable(XPathContext context) throws XPathException
Binding
evaluateVariable
in interface Binding
XPathException
public void setVariableName(String name)
public String getVariableName()
Binding
getVariableName
in interface Binding
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |