|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.jelly.TagLibrary
org.apache.commons.jelly.tags.bean.BeanTagLibrary
public class BeanTagLibrary
Describes the Taglib. This class could be generated by XDoclet
Field Summary | |
---|---|
private java.util.Map |
beanTypes
Synchronized map of tag names to bean classes |
private java.util.Map |
invokeMethods
Synchronized map of tag names to invoke methods |
Constructor Summary | |
---|---|
BeanTagLibrary()
|
Method Summary | |
---|---|
protected org.apache.commons.jelly.Tag |
createBeanTag(java.lang.String name,
org.xml.sax.Attributes attributes)
|
protected org.apache.commons.jelly.impl.TagFactory |
createTagFactory(java.lang.String name,
org.xml.sax.Attributes attributes)
Factory method to create a TagFactory for a given tag attribute and attributes |
org.apache.commons.jelly.impl.TagScript |
createTagScript(java.lang.String name,
org.xml.sax.Attributes attributes)
|
protected java.lang.Class |
getBeanType(java.lang.String name,
org.xml.sax.Attributes attributes)
|
void |
registerBean(java.lang.String name,
java.lang.Class type)
Allows tags to register new bean types |
void |
registerBean(java.lang.String name,
java.lang.Class type,
java.lang.reflect.Method method)
Allows tags to register new bean types with an associated method |
void |
registerBean(java.lang.String name,
java.lang.Class type,
java.lang.String methodName)
Allows tags to register new bean types with an associated method |
Methods inherited from class org.apache.commons.jelly.TagLibrary |
---|
createExpression, createTag, getExpressionFactory, getTagClasses, registerTag, registerTagFactory |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.util.Map beanTypes
private java.util.Map invokeMethods
Constructor Detail |
---|
public BeanTagLibrary()
Method Detail |
---|
public void registerBean(java.lang.String name, java.lang.Class type)
public void registerBean(java.lang.String name, java.lang.Class type, java.lang.reflect.Method method)
public void registerBean(java.lang.String name, java.lang.Class type, java.lang.String methodName)
public org.apache.commons.jelly.impl.TagScript createTagScript(java.lang.String name, org.xml.sax.Attributes attributes) throws org.apache.commons.jelly.JellyException
createTagScript
in class org.apache.commons.jelly.TagLibrary
org.apache.commons.jelly.JellyException
protected org.apache.commons.jelly.impl.TagFactory createTagFactory(java.lang.String name, org.xml.sax.Attributes attributes) throws org.apache.commons.jelly.JellyException
org.apache.commons.jelly.JellyException
protected org.apache.commons.jelly.Tag createBeanTag(java.lang.String name, org.xml.sax.Attributes attributes) throws org.apache.commons.jelly.JellyException
org.apache.commons.jelly.JellyException
protected java.lang.Class getBeanType(java.lang.String name, org.xml.sax.Attributes attributes)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |