| Java Doc By Examples | |
| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectjavax.servlet.jsp.tagext.FunctionInfopublic class FunctionInfoextends ObjectConstructor Summary | |
| |
Method Summary | |
String |
|
String |
|
String |
|
Methods inherited from class java.lang.Object | |
clone, equals, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait | |
public FunctionInfo(String name, String className, String signature)
Creates information for a function.
- Parameters:
name- name of the functionclassName- class name for the functionsignature- signature of the function
1: import java.util.*; 2: import javax.servlet.jsp.tagext.FunctionInfo; 3: import org.apache.jasper.JasperException; 4: ... 5: ELNode.Function f = (ELNode.Function)functions.get(i); 6: FunctionInfo funcInfo = f.getFunctionInfo(); 7: String key = f.getPrefix()+ ":" + f.getName(); 8: ... 9: ds.append(funcMethod + "(\"" + key + "\", " + 10: funcInfo.getFunctionClass() + ".class, " + 11: '\"' + f.getMethodName() + "\", " +
1: import javax.el.FunctionMapper; 2: import javax.servlet.jsp.tagext.FunctionInfo; 3: import javax.servlet.jsp.tagext.JspFragment; 4: ... 5: TagLibraryInfo taglib = pageInfo.getTaglib(uri); 6: FunctionInfo funcInfo = null; 7: if (taglib != null) { 8: ... 9: private String getMethod(ELNode.Function func) throws JasperException { 10: FunctionInfo funcInfo = func.getFunctionInfo(); 11: ... 12: String signature = funcInfo.getFunctionSignature();