lux.xquery
Class FunctionDefinition
java.lang.Object
lux.xpath.AbstractExpression
lux.xpath.FunCall
lux.xquery.FunctionDefinition
- All Implemented Interfaces:
- Visitable
public class FunctionDefinition
- extends FunCall
| Fields inherited from class lux.xpath.FunCall |
FN_COLLECTION, FN_CONTAINS, FN_COUNT, FN_DATA, FN_EMPTY, FN_EXISTS, FN_LAST, FN_NAMESPACE, FN_NOT, FN_ROOT, FN_STRING_JOIN, FN_SUBSEQUENCE, LastExpression, LOCAL_NAMESPACE, LUX_COUNT, LUX_EXISTS, LUX_FIELD_VALUES, LUX_NAMESPACE, LUX_SEARCH, XS_NAMESPACE |
| Methods inherited from class lux.xpath.AbstractExpression |
acceptSubs, appendSub, getBindingContext, getSubs, getSuper, getTail, getType, isAbsolute, replaceRoot, setSubs, toString |
FunctionDefinition
public FunctionDefinition(QName name,
ValueType returnType,
int cardinality,
Variable[] args,
AbstractExpression body)
toString
public void toString(StringBuilder buf)
- Description copied from class:
AbstractExpression
- Each subclass must implement the toString(StringBuilder) method by
rendering itself as a syntatically valid XPath/XQuery expression in
the given buffer.
- Overrides:
toString in class FunCall
getBody
public AbstractExpression getBody()
getCardinality
public int getCardinality()
Copyright © 2013. All Rights Reserved.