|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
public interface FunctionItem
XQuery 1.1 introduces a third kind of item, beyond nodes and atomic values: the function item. Function items implement this marker interface. The actual implementation class is in Saxon-PE and Saxon-EE only.
| Field Summary |
|---|
| Fields inherited from interface net.sf.saxon.om.ValueRepresentation |
|---|
EMPTY_VALUE_ARRAY |
| Method Summary | |
|---|---|
FunctionItem |
curry(int arg,
ValueRepresentation value)
Curry a function by binding one of its arguments |
int |
getArity()
Get the arity of the function |
FunctionItemType |
getFunctionItemType()
Get the item type of the function item |
StructuredQName |
getFunctionName()
Get the name of the function, or null if it is anonymous |
ValueRepresentation |
invoke(ValueRepresentation[] args,
XPathContext context)
Invoke the function |
| Methods inherited from interface net.sf.saxon.om.Item |
|---|
getStringValue, getStringValueCS, getTypedValue |
| Method Detail |
|---|
FunctionItemType getFunctionItemType()
StructuredQName getFunctionName()
int getArity()
ValueRepresentation invoke(ValueRepresentation[] args,
XPathContext context)
throws XPathException
args - the actual arguments to be suppliedcontext - the XPath dynamic evaluation context
XPathException
FunctionItem curry(int arg,
ValueRepresentation value)
throws XPathException
arg - the argument to be found (1-based)value - the value to which the argument is to be bound
XPathException
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||