|
|||||||
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 | |
---|---|
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. |
boolean |
isIndexedVariable()
|
void |
setIndexedVariable(boolean indexed)
|
void |
setReferenceCount(int count)
|
void |
setRequiredType(SequenceType type)
|
void |
setSlotNumber(int slot)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserFunctionParameter()
Method Detail |
---|
public final boolean isGlobal()
isGlobal
in interface Binding
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 void setIndexedVariable(boolean indexed)
public boolean isIndexedVariable()
public ValueRepresentation evaluateVariable(XPathContext context) throws XPathException
Binding
evaluateVariable
in interface Binding
XPathException
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |