/** * Get the FunctionInfo for a given function name, looking through all the * functions in this tag library. * * @param name The name (no prefix) of the function * @return the FunctionInfo for the function with the given name, or null * if no such function exists * @since JSP 2.0 */ public FunctionInfo getFunction(String name) { if (functions == null || functions.length == 0) { System.err.println("No functions"); return null; } for (int i=0; i < functions.length; i++) { if (functions[i].getName().equals(name)) { return functions[i]; } } return null; }
/** * Get the FunctionInfo for a given function name, looking through all the * functions in this tag library. * * @param name The name (no prefix) of the function * @return the FunctionInfo for the function with the given name, or null * if no such function exists * @since JSP 2.0 */ public FunctionInfo getFunction(String name) { if (functions == null || functions.length == 0) { System.err.println("No functions"); return null; } for (int i=0; i < functions.length; i++) { if (functions[i].getName().equals(name)) { return functions[i]; } } return null; }
/** * Returns the named function. * * @since JSP 2.0 */ public FunctionInfo getFunction(String name) { if (this.functions == null) return null; for (int i = 0; i < this.functions.length; i++) if (this.functions[i].getName().equals(name)) return this.functions[i]; return null; }
/** * Get the FunctionInfo for a given function name, looking through all the * functions in this tag library. * * @param name * The name (no prefix) of the function * @return the FunctionInfo for the function with the given name, or null if * no such function exists * @since 2.0 */ public FunctionInfo getFunction(String name) { if (functions == null || functions.length == 0) { return null; } for (int i = 0; i < functions.length; i++) { if (functions[i].getName().equals(name)) { return functions[i]; } } return null; }
/** * Get the FunctionInfo for a given function name, looking through all the * functions in this tag library. * * @param name The name (no prefix) of the function * @return the FunctionInfo for the function with the given name, or null * if no such function exists * @since 2.0 */ public FunctionInfo getFunction(String name) { if (functions == null || functions.length == 0) { System.err.println("No functions"); return null; } for (int i=0; i < functions.length; i++) { if (functions[i].getName().equals(name)) { return functions[i]; } } return null; }
/** * Get the FunctionInfo for a given function name, looking through all the * functions in this tag library. * * @param name The name (no prefix) of the function * @return the FunctionInfo for the function with the given name, or null * if no such function exists * @since JSP 2.0 */ public FunctionInfo getFunction(String name) { if (functions == null || functions.length == 0) { System.err.println("No functions"); return null; } for (int i=0; i < functions.length; i++) { if (functions[i].getName().equals(name)) { return functions[i]; } } return null; }
/** * Get the FunctionInfo for a given function name, looking through all the * functions in this tag library. * * @param name The name (no prefix) of the function * @return the FunctionInfo for the function with the given name, or null * if no such function exists * @since JSP 2.0 */ public FunctionInfo getFunction(String name) { if (functions == null || functions.length == 0) { System.err.println("No functions"); return null; } for (int i=0; i < functions.length; i++) { if (functions[i].getName().equals(name)) { return functions[i]; } } return null; }
/** * Get the FunctionInfo for a given function name, looking through all the * functions in this tag library. * * @param name The name (no prefix) of the function * @return the FunctionInfo for the function with the given name, or null * if no such function exists * @since 2.0 */ public FunctionInfo getFunction(String name) { if (functions == null || functions.length == 0) { System.err.println("No functions"); return null; } for (int i=0; i < functions.length; i++) { if (functions[i].getName().equals(name)) { return functions[i]; } } return null; }
/** * Get the FunctionInfo for a given function name, looking through all the * functions in this tag library. * * @param name The name (no prefix) of the function * @return the FunctionInfo for the function with the given name, or null * if no such function exists * @since 2.0 */ public FunctionInfo getFunction(String name) { if (functions == null || functions.length == 0) { System.err.println("No functions"); return null; } for (int i=0; i < functions.length; i++) { if (functions[i].getName().equals(name)) { return functions[i]; } } return null; }
/** * Get the FunctionInfo for a given function name, looking through all the * functions in this tag library. * * @param name The name (no prefix) of the function * @return the FunctionInfo for the function with the given name, or null * if no such function exists * @since JSP 2.0 */ public FunctionInfo getFunction(String name) { if (functions == null || functions.length == 0) { System.err.println("No functions"); return null; } for (int i=0; i < functions.length; i++) { if (functions[i].getName().equals(name)) { return functions[i]; } } return null; }
/** * Get the FunctionInfo for a given function name, looking through all the * functions in this tag library. * * @param name The name (no prefix) of the function * @return the FunctionInfo for the function with the given name, or null * if no such function exists * @since 2.0 */ public FunctionInfo getFunction(String name) { if (functions == null || functions.length == 0) { System.err.println("No functions"); return null; } for (int i=0; i < functions.length; i++) { if (functions[i].getName().equals(name)) { return functions[i]; } } return null; }
/** * Get the FunctionInfo for a given function name, looking through all the * functions in this tag library. * * @param name The name (no prefix) of the function * @return the FunctionInfo for the function with the given name, or null * if no such function exists * @since JSP 2.0 */ public FunctionInfo getFunction(String name) { if (functions == null || functions.length == 0) { System.err.println("No functions"); return null; } for (int i=0; i < functions.length; i++) { if (functions[i].getName().equals(name)) { return functions[i]; } } return null; }
/** * Get the FunctionInfo for a given function name, looking through all the * functions in this tag library. * * @param name The name (no prefix) of the function * @return the FunctionInfo for the function with the given name, or null * if no such function exists * @since 2.0 */ public FunctionInfo getFunction(String name) { if (functions == null || functions.length == 0) { System.err.println("No functions"); return null; } for (int i=0; i < functions.length; i++) { if (functions[i].getName().equals(name)) { return functions[i]; } } return null; }
/** * Get the FunctionInfo for a given function name, looking through all the * functions in this tag library. * * @param name The name (no prefix) of the function * @return the FunctionInfo for the function with the given name, or null * if no such function exists * @since JSP 2.0 */ public FunctionInfo getFunction(String name) { if (functions == null || functions.length == 0) { System.err.println("No functions"); return null; } for (int i=0; i < functions.length; i++) { if (functions[i].getName().equals(name)) { return functions[i]; } } return null; }
/** * Get the FunctionInfo for a given function name, looking through all the * functions in this tag library. * * @param name The name (no prefix) of the function * @return the FunctionInfo for the function with the given name, or null * if no such function exists * @since JSP 2.0 */ public FunctionInfo getFunction(String name) { if (functions == null || functions.length == 0) { System.err.println("No functions"); return null; } for (int i=0; i < functions.length; i++) { if (functions[i].getName().equals(name)) { return functions[i]; } } return null; }
/** * Get the FunctionInfo for a given function name, looking through all the * functions in this tag library. * * @param name * The name (no prefix) of the function * @return the FunctionInfo for the function with the given name, or null if * no such function exists * @since 2.0 */ public FunctionInfo getFunction(String name) { if (functions == null || functions.length == 0) { System.err.println("No functions"); return null; } for (int i = 0; i < functions.length; i++) { if (functions[i].getName().equals(name)) { return functions[i]; } } return null; }
} else if ("function".equals(tname)) { // JSP2.0 FunctionInfo funcInfo = createFunctionInfo(element); String funcName = funcInfo.getName(); if (functionTable.containsKey(funcName)) { err.jspError("jsp.error.tld.fn.duplicate.name",
} else if ("function".equals(tname)) { // JSP2.0 FunctionInfo funcInfo = createFunctionInfo(element); String funcName = funcInfo.getName(); if (functionTable.containsKey(funcName)) { err.jspError("jsp.error.tld.fn.duplicate.name", funcName,
} else if ("function".equals(tname)) { // JSP2.0 FunctionInfo funcInfo = createFunctionInfo(element); String funcName = funcInfo.getName(); if (functionTable.containsKey(funcName)) { err.jspError("jsp.error.tld.fn.duplicate.name",
} else if ("function".equals(tname)) { // JSP2.0 FunctionInfo funcInfo = createFunctionInfo(element); String funcName = funcInfo.getName(); if (functionTable.containsKey(funcName)) { err.jspError("jsp.error.tld.fn.duplicate.name",