public class UserFunctionParameter extends java.lang.Object implements Binding, java.io.Serializable
Constructor and Description |
---|
UserFunctionParameter() |
Modifier and Type | Method and Description |
---|---|
ValueRepresentation |
evaluateVariable(XPathContext context)
Evaluate the variable
|
int |
getLocalSlotNumber()
If this is a local variable held on the local stack frame, return the corresponding slot number.
|
int |
getReferenceCount() |
SequenceType |
getRequiredType() |
boolean |
isAssignable()
Test whether it is permitted to assign to the variable using the saxon:assign
extension element.
|
boolean |
isGlobal()
Indicate whether the binding is local or global.
|
void |
setReferenceCount(int count) |
void |
setRequiredType(SequenceType type) |
void |
setSlotNumber(int slot) |
public final boolean isGlobal()
public final boolean isAssignable()
isAssignable
in interface Binding
public int getLocalSlotNumber()
getLocalSlotNumber
in interface Binding
public void setRequiredType(SequenceType type)
public SequenceType getRequiredType()
public void setReferenceCount(int count)
public int getReferenceCount()
public void setSlotNumber(int slot)
public ValueRepresentation evaluateVariable(XPathContext context) throws XPathException
Binding
evaluateVariable
in interface Binding
XPathException