Class ELNode.Function
java.lang.Object
org.apache.jasper.compiler.ELNode
org.apache.jasper.compiler.ELNode.Function
- Enclosing class:
ELNode
Represents a function. Currently only include the prefix and function name, but not its arguments.
-
Nested Class Summary
Nested classes/interfaces inherited from class ELNode
ELNode.ELText, ELNode.Function, ELNode.Nodes, ELNode.Root, ELNode.Text, ELNode.Visitor -
Method Summary
Modifier and TypeMethodDescriptionvoidAccepts a visitor for traversing this node.Returns the FunctionInfo for this function.Returns the Java method name mapped to this EL function.getName()Returns the function name.Returns the original function text as it appeared in the source.String[]Returns the parameter type signatures for this function.Returns the namespace prefix.getUri()Returns the URI associated with this function's namespace.voidSets the FunctionInfo for this function.voidsetMethodName(String methodName) Sets the Java method name mapped to this EL function.voidsetParameters(String[] parameters) Sets the parameter type signatures for this function.voidSets the URI associated with this function's namespace.
-
Method Details
-
accept
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
-
getName
-
getOriginalText
Returns the original function text as it appeared in the source.- Returns:
- the original text
-
setUri
Sets the URI associated with this function's namespace.- Parameters:
uri- the namespace URI
-
getUri
-
setFunctionInfo
Sets the FunctionInfo for this function.- Parameters:
f- the function info
-
getFunctionInfo
Returns the FunctionInfo for this function.- Returns:
- the function info
-
setMethodName
Sets the Java method name mapped to this EL function.- Parameters:
methodName- the method name
-
getMethodName
Returns the Java method name mapped to this EL function.- Returns:
- the method name
-
setParameters
Sets the parameter type signatures for this function.- Parameters:
parameters- the parameter type signatures
-
getParameters
Returns the parameter type signatures for this function.- Returns:
- the parameter type signatures
-