Class 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 Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void accept​(ELNode.Visitor v)
      Accepts a visitor for traversing this node.
      FunctionInfo getFunctionInfo()
      Returns the FunctionInfo for this function.
      java.lang.String getMethodName()
      Returns the Java method name mapped to this EL function.
      java.lang.String getName()
      Returns the function name.
      java.lang.String getOriginalText()
      Returns the original function text as it appeared in the source.
      java.lang.String[] getParameters()
      Returns the parameter type signatures for this function.
      java.lang.String getPrefix()
      Returns the namespace prefix.
      java.lang.String getUri()
      Returns the URI associated with this function's namespace.
      void setFunctionInfo​(FunctionInfo f)
      Sets the FunctionInfo for this function.
      void setMethodName​(java.lang.String methodName)
      Sets the Java method name mapped to this EL function.
      void setParameters​(java.lang.String[] parameters)
      Sets the parameter type signatures for this function.
      void setUri​(java.lang.String uri)
      Sets the URI associated with this function's namespace.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getPrefix

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

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

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

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

        public java.lang.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​(java.lang.String methodName)
        Sets the Java method name mapped to this EL function.
        Parameters:
        methodName - the method name
      • getMethodName

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

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

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