| java.lang.Object com.sun.portal.providers.jsp.jasper3.jasper.runtime.JspRuntimeLibrary
JspRuntimeLibrary | public class JspRuntimeLibrary (Code) | | Bunch of util methods that are used by code generated for useBean,
getProperty and setProperty.
The __begin, __end stuff is there so that the JSP engine can
actually parse this file and inline them if people don't want
runtime dependencies on this class. However, I'm not sure if that
works so well right now. It got forgotten at some point. -akv
author: Mandar Raje |
Method Summary | |
public static Object | convert(String s, Class t) | public static void | createTypedArray(Object bean, Method method, String[] values, Class t) Create a typed array. | public static String | decode(String encoded) Decode an URL formatted string.
Parameters: s - The string to decode. | public static String | escapeQueryString(String unescString) Escape special shell characters. | public static java.lang.reflect.Method | getReadMethod(Class beanClass, String prop) | public static java.lang.reflect.Method | getWriteMethod(Class beanClass, String prop) | public static Object | handleGetProperty(Object o, String prop) | public static void | handleSetProperty(Object bean, String prop, Object value) | public static void | handleSetProperty(Object bean, String prop, int value) | public static void | handleSetProperty(Object bean, String prop, short value) | public static void | handleSetProperty(Object bean, String prop, long value) | public static void | handleSetProperty(Object bean, String prop, double value) | public static void | handleSetProperty(Object bean, String prop, float value) | public static void | handleSetProperty(Object bean, String prop, char value) | public static void | handleSetProperty(Object bean, String prop, byte value) | public static void | handleSetProperty(Object bean, String prop, boolean value) | public static void | introspect(Object bean, ServletRequest request) | public static void | introspecthelper(Object bean, String prop, String value, ServletRequest request, String param, boolean ignoreMethodNF) | public static String | toString(Object o) | public static String | toString(byte b) | public static String | toString(boolean b) | public static String | toString(short s) | public static String | toString(int i) | public static String | toString(float f) | public static String | toString(long l) | public static String | toString(double d) | public static String | toString(char c) |
createTypedArray | public static void createTypedArray(Object bean, Method method, String[] values, Class t) throws JasperException(Code) | | Create a typed array.
This is a special case where params are passed through
the request and the property is indexed.
|
decode | public static String decode(String encoded)(Code) | | Decode an URL formatted string.
Parameters: s - The string to decode. The decoded string. |
escapeQueryString | public static String escapeQueryString(String unescString)(Code) | | Escape special shell characters.
Parameters: unescString - The string to shell-escape The escaped shell string. |
|
|