org.japano.util
Class JSPCompilerUtil
java.lang.Object
org.japano.util.JSPCompilerUtil
public class JSPCompilerUtil
- extends java.lang.Object
Contains some utility for JSP generation.
- Version:
- $Id: JSPCompilerUtil.java,v 1.11 2005/11/30 21:22:23 fforw Exp $
- Author:
- Sven Helmberger ( sven dot helmberger at gmx dot de )
Method Summary |
static java.lang.Class |
getClassForSourceName(java.lang.String name)
Returns the class for the given class name which can also be a primitive type name. |
static java.lang.String |
getSourceNameForClass(java.lang.Class c)
|
static void |
main(java.lang.String[] args)
|
static boolean |
methodFitsProperty(java.lang.reflect.Method m,
java.lang.String property)
|
static JavaExpression |
resolve(org.japano.jasper.compiler.CompilationContext context,
org.japano.jasper.compiler.Node node,
java.lang.String[] identifier)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
resolve
public static JavaExpression resolve(org.japano.jasper.compiler.CompilationContext context,
org.japano.jasper.compiler.Node node,
java.lang.String[] identifier)
methodFitsProperty
public static boolean methodFitsProperty(java.lang.reflect.Method m,
java.lang.String property)
getClassForSourceName
public static java.lang.Class getClassForSourceName(java.lang.String name)
throws java.lang.ClassNotFoundException
- Returns the class for the given class name which can also be a primitive type name.
- Parameters:
name
- name of a primitive type or class
- Returns:
- class
- Throws:
java.lang.ClassNotFoundException
getSourceNameForClass
public static java.lang.String getSourceNameForClass(java.lang.Class c)
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception