lux.xquery
Class FunctionDefinition

java.lang.Object
  extended by lux.xpath.AbstractExpression
      extended by lux.xpath.FunCall
          extended by lux.xquery.FunctionDefinition
All Implemented Interfaces:
Visitable

public class FunctionDefinition
extends FunCall


Nested Class Summary
 
Nested classes/interfaces inherited from class lux.xpath.AbstractExpression
AbstractExpression.Type
 
Field Summary
 
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
 
Fields inherited from class lux.xpath.AbstractExpression
subs, sup
 
Constructor Summary
FunctionDefinition(QName name, ValueType returnType, int cardinality, Variable[] args, AbstractExpression body)
           
 
Method Summary
 AbstractExpression getBody()
           
 int getCardinality()
           
 void toString(StringBuilder buf)
          Each subclass must implement the toString(StringBuilder) method by rendering itself as a syntatically valid XPath/XQuery expression in the given buffer.
 
Methods inherited from class lux.xpath.FunCall
accept, getLastContextStep, getName, getPrecedence, getReturnType, getRoot, isDocumentOrdered, setArguments
 
Methods inherited from class lux.xpath.AbstractExpression
acceptSubs, appendSub, getBindingContext, getSubs, getSuper, getTail, getType, isAbsolute, replaceRoot, setSubs, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FunctionDefinition

public FunctionDefinition(QName name,
                          ValueType returnType,
                          int cardinality,
                          Variable[] args,
                          AbstractExpression body)
Method Detail

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.