org.overlord.sramp.common.query.xpath.ast
Class FunctionCall

java.lang.Object
  extended by org.overlord.sramp.common.query.xpath.ast.AbstractXPathNode
      extended by org.overlord.sramp.common.query.xpath.ast.FunctionCall

public class FunctionCall
extends AbstractXPathNode

Models a function call

   FunctionCall ::= FunctionName '(' ( Argument ( ',' Argument )* )? ')'
 

Author:
eric.wittmann@redhat.com

Constructor Summary
FunctionCall()
          Default constructor.
 
Method Summary
 void accept(XPathVisitor visitor)
          Accepts a visitor.
 List<Argument> getArguments()
           
 QName getFunctionName()
           
 void setArguments(List<Argument> arguments)
           
 void setFunctionName(QName functionName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FunctionCall

public FunctionCall()
Default constructor.

Method Detail

getFunctionName

public QName getFunctionName()
Returns:
the functionName

setFunctionName

public void setFunctionName(QName functionName)
Parameters:
functionName - the functionName to set

getArguments

public List<Argument> getArguments()
Returns:
the arguments

setArguments

public void setArguments(List<Argument> arguments)
Parameters:
arguments - the arguments to set

accept

public void accept(XPathVisitor visitor)
Description copied from class: AbstractXPathNode
Accepts a visitor.

Specified by:
accept in class AbstractXPathNode
See Also:
AbstractXPathNode.accept(org.overlord.sramp.common.query.xpath.visitors.XPathVisitor)


Copyright © 2011-2013 JBoss, a division of Red Hat. All Rights Reserved.