org.ucl.xpath.ast
Class FunctionCall

java.lang.Object
  extended byorg.ucl.xpath.ast.XPathNode
      extended byorg.ucl.xpath.ast.PrimaryExpr
          extended byorg.ucl.xpath.ast.FunctionCall

public class FunctionCall
extends PrimaryExpr

Class for Function Call support.


Constructor Summary
FunctionCall(QName name, java.util.Collection args)
          Constructor for FunctionCall.
 
Method Summary
 java.lang.Object accept(XPathVisitor v)
          Support for Visitor interface.
 int arity()
          Support for Arity interface.
 java.util.Iterator iterator()
          Support for Iterator interface.
 QName name()
          Support for QName interface.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FunctionCall

public FunctionCall(QName name,
                    java.util.Collection args)
Constructor for FunctionCall.

Parameters:
name - QName.
args - Collection of arguments.
Method Detail

accept

public java.lang.Object accept(XPathVisitor v)
Support for Visitor interface.

Specified by:
accept in class XPathNode
Returns:
Result of Visitor operation.

name

public QName name()
Support for QName interface.

Returns:
Result of QName operation.

iterator

public java.util.Iterator iterator()
Support for Iterator interface.

Returns:
Result of Iterator operation.

arity

public int arity()
Support for Arity interface.

Returns:
Result of Arity operation.