net.sf.swan.xpath.expr
Class DefaultFunctionCallExpr

java.lang.Object
  |
  +--net.sf.swan.xpath.expr.DefaultFunctionCallExpr
All Implemented Interfaces:
org.jaxen.expr.Expr, org.jaxen.expr.FunctionCallExpr, java.io.Serializable, org.jaxen.expr.Visitable

public class DefaultFunctionCallExpr
extends java.lang.Object
implements org.jaxen.expr.FunctionCallExpr

See Also:
Serialized Form

Constructor Summary
DefaultFunctionCallExpr(java.lang.String prefix, java.lang.String localName, org.jaxen.Function function)
           
 
Method Summary
 void accept(org.jaxen.expr.Visitor visitor)
           
 void addParameter(org.jaxen.expr.Expr parameter)
           
 java.lang.Object evaluate(org.jaxen.Context context)
           
 java.lang.String getFunctionName()
           
 java.util.List getParameters()
           
 java.lang.String getPrefix()
           
 java.lang.String getText()
           
 org.jaxen.expr.Expr simplify()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultFunctionCallExpr

public DefaultFunctionCallExpr(java.lang.String prefix,
                               java.lang.String localName,
                               org.jaxen.Function function)
Method Detail

getPrefix

public java.lang.String getPrefix()
Specified by:
getPrefix in interface org.jaxen.expr.FunctionCallExpr

getFunctionName

public java.lang.String getFunctionName()
Specified by:
getFunctionName in interface org.jaxen.expr.FunctionCallExpr

addParameter

public void addParameter(org.jaxen.expr.Expr parameter)
Specified by:
addParameter in interface org.jaxen.expr.FunctionCallExpr

getParameters

public java.util.List getParameters()
Specified by:
getParameters in interface org.jaxen.expr.FunctionCallExpr

getText

public java.lang.String getText()
Specified by:
getText in interface org.jaxen.expr.Expr

simplify

public org.jaxen.expr.Expr simplify()
Specified by:
simplify in interface org.jaxen.expr.Expr

evaluate

public java.lang.Object evaluate(org.jaxen.Context context)
                          throws org.jaxen.JaxenException
Specified by:
evaluate in interface org.jaxen.expr.Expr

accept

public void accept(org.jaxen.expr.Visitor visitor)
Specified by:
accept in interface org.jaxen.expr.Visitable