org.oddjob.arooa.types
Class ClassType
java.lang.Object
org.oddjob.arooa.types.ClassType
- All Implemented Interfaces:
- ArooaValue, ArooaSessionAware, ValueFactory<Class<?>>
public class ClassType
- extends Object
- implements ValueFactory<Class<?>>, ArooaSessionAware
Description
Returns a Class for the given name.Example
See ConvertType for an example.- Author:
- rob
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ELEMENT
public static final ArooaElement ELEMENT
ClassType
public ClassType()
setArooaSession
public void setArooaSession(ArooaSession session)
- Specified by:
setArooaSession in interface ArooaSessionAware
toValue
public Class<?> toValue()
throws ArooaConversionException
- Specified by:
toValue in interface ValueFactory<Class<?>>
- Throws:
ArooaConversionException
getName
public String getName()
setName
public void setName(String name)
getClassLoader
public ClassLoader getClassLoader()
setClassLoader
public void setClassLoader(ClassLoader classLoader)