Class ELNode.Function

java.lang.Object
org.apache.jasper.compiler.ELNode
org.apache.jasper.compiler.ELNode.Function
Enclosing class:
ELNode

public static class ELNode.Function extends ELNode
Represents a function. Currently only include the prefix and function name, but not its arguments.
  • Method Details

    • accept

      public void accept(ELNode.Visitor v) throws JasperException
      Description copied from class: ELNode
      Accepts a visitor for traversing this node.
      Specified by:
      accept in class ELNode
      Parameters:
      v - the visitor
      Throws:
      JasperException - if an error occurs during visitation
    • getPrefix

      public String getPrefix()
      Returns the namespace prefix.
      Returns:
      the prefix
    • getName

      public String getName()
      Returns the function name.
      Returns:
      the name
    • getOriginalText

      public String getOriginalText()
      Returns the original function text as it appeared in the source.
      Returns:
      the original text
    • setUri

      public void setUri(String uri)
      Sets the URI associated with this function's namespace.
      Parameters:
      uri - the namespace URI
    • getUri

      public String getUri()
      Returns the URI associated with this function's namespace.
      Returns:
      the URI
    • setFunctionInfo

      public void setFunctionInfo(FunctionInfo f)
      Sets the FunctionInfo for this function.
      Parameters:
      f - the function info
    • getFunctionInfo

      public FunctionInfo getFunctionInfo()
      Returns the FunctionInfo for this function.
      Returns:
      the function info
    • setMethodName

      public void setMethodName(String methodName)
      Sets the Java method name mapped to this EL function.
      Parameters:
      methodName - the method name
    • getMethodName

      public String getMethodName()
      Returns the Java method name mapped to this EL function.
      Returns:
      the method name
    • setParameters

      public void setParameters(String[] parameters)
      Sets the parameter type signatures for this function.
      Parameters:
      parameters - the parameter type signatures
    • getParameters

      public String[] getParameters()
      Returns the parameter type signatures for this function.
      Returns:
      the parameter type signatures