Package org.apache.jasper.compiler
Class ELNode.Function
- java.lang.Object
-
- org.apache.jasper.compiler.ELNode
-
- org.apache.jasper.compiler.ELNode.Function
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.jasper.compiler.ELNode
ELNode.ELText, ELNode.Function, ELNode.Nodes, ELNode.Root, ELNode.Text, ELNode.Visitor
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(ELNode.Visitor v)Accepts a visitor for traversing this node.FunctionInfogetFunctionInfo()Returns the FunctionInfo for this function.java.lang.StringgetMethodName()Returns the Java method name mapped to this EL function.java.lang.StringgetName()Returns the function name.java.lang.StringgetOriginalText()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.StringgetPrefix()Returns the namespace prefix.java.lang.StringgetUri()Returns the URI associated with this function's namespace.voidsetFunctionInfo(FunctionInfo f)Sets the FunctionInfo for this function.voidsetMethodName(java.lang.String methodName)Sets the Java method name mapped to this EL function.voidsetParameters(java.lang.String[] parameters)Sets the parameter type signatures for this function.voidsetUri(java.lang.String uri)Sets the URI associated with this function's namespace.
-
-
-
Method Detail
-
accept
public void accept(ELNode.Visitor v) throws JasperException
Description copied from class:ELNodeAccepts a visitor for traversing this node.- Specified by:
acceptin classELNode- Parameters:
v- the visitor- Throws:
JasperException- if an error occurs during visitation
-
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
-
-