|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.jelly.TagSupport
org.apache.commons.jelly.tags.bean.BeandefTag
Binds a Java bean to the given named Jelly tag so that the attributes of the tag set the bean properties..
Field Summary | |
private java.lang.ClassLoader |
classLoader
the ClassLoader used to load beans |
private java.lang.String |
className
the Java class name to use for the tag |
protected static java.lang.Class[] |
EMPTY_ARGUMENT_TYPES
|
private static java.util.Map |
EMPTY_MAP
An empty Map as I think Collections.EMPTY_MAP is only JDK 1.3 onwards |
private BeanTagLibrary |
library
the library in which to define this new bean tag |
private static org.apache.commons.logging.Log |
log
The Log to which logging calls will be made. |
private java.lang.String |
methodName
the name of the invoke method |
private java.lang.String |
name
the name of the tag to create |
Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
Constructor Summary | |
BeandefTag(BeanTagLibrary library)
|
Method Summary | |
void |
doTag(org.apache.commons.jelly.XMLOutput output)
|
java.lang.ClassLoader |
getClassLoader()
|
protected java.lang.reflect.Method |
getInvokeMethod(java.lang.Class theClass)
|
java.lang.String |
getMethodName()
|
void |
setClassLoader(java.lang.ClassLoader classLoader)
Sets the ClassLoader to use to load the class. |
void |
setClassName(java.lang.String className)
Sets the Java class name to use for the tag |
void |
setMethodName(java.lang.String methodName)
Sets the methodName. |
void |
setName(java.lang.String name)
Sets the name of the tag to create |
Methods inherited from class org.apache.commons.jelly.TagSupport |
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isTrim, setBody, setContext, setParent, setTrim, trimBody |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final org.apache.commons.logging.Log log
private static final java.util.Map EMPTY_MAP
protected static final java.lang.Class[] EMPTY_ARGUMENT_TYPES
private java.lang.String name
private java.lang.String className
private java.lang.String methodName
private java.lang.ClassLoader classLoader
private BeanTagLibrary library
Constructor Detail |
public BeandefTag(BeanTagLibrary library)
Method Detail |
public void doTag(org.apache.commons.jelly.XMLOutput output) throws org.apache.commons.jelly.MissingAttributeException, org.apache.commons.jelly.JellyTagException
org.apache.commons.jelly.MissingAttributeException
org.apache.commons.jelly.JellyTagException
public void setName(java.lang.String name)
public void setClassName(java.lang.String className)
public void setClassLoader(java.lang.ClassLoader classLoader)
public java.lang.ClassLoader getClassLoader()
public java.lang.String getMethodName()
public void setMethodName(java.lang.String methodName)
methodName
- The methodName to setprotected java.lang.reflect.Method getInvokeMethod(java.lang.Class theClass)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |