|
||||||||||
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.define.DefineTagSupport
org.apache.commons.jelly.tags.define.BeanTag
org.apache.commons.jelly.tags.define.JellyBeanTag
Binds a Java bean to the given named Jelly tag so that the attributes of the tag set the bean properties. After the body of this tag is invoked then the beans invoke() method will be called, if the bean has one.
Field Summary | |
private static java.lang.Class[] |
emptyParamTypes
Empty parameter types for Method lookup |
private static org.apache.commons.logging.Log |
log
The Log to which logging calls will be made. |
private java.lang.String |
method
the name of the method to invoke on the bean |
Fields inherited from class org.apache.commons.jelly.tags.define.BeanTag |
|
Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
Constructor Summary | |
JellyBeanTag()
|
Method Summary | |
protected java.lang.reflect.Method |
getInvokeMethod(java.lang.Class theClass)
Extracts the invoke method for the class if one is used. |
java.lang.String |
getMethod()
|
void |
setMethod(java.lang.String method)
Sets the name of the method to invoke on the bean. |
Methods inherited from class org.apache.commons.jelly.tags.define.BeanTag |
addAttribute, doTag, getClassLoader, setClassLoader, setClassName, setName, setVarAttribute |
Methods inherited from class org.apache.commons.jelly.tags.define.DefineTagSupport |
getTagLibrary |
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.lang.Class[] emptyParamTypes
private java.lang.String method
Constructor Detail |
public JellyBeanTag()
Method Detail |
public java.lang.String getMethod()
public void setMethod(java.lang.String method)
protected java.lang.reflect.Method getInvokeMethod(java.lang.Class theClass)
BeanTag
getInvokeMethod
in class BeanTag
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |