org.apache.commons.jelly.tags.bean
Class BeanTagLibrary
java.lang.Object
|
+--org.apache.commons.jelly.TagLibrary
|
+--org.apache.commons.jelly.tags.bean.BeanTagLibrary
- public class BeanTagLibrary
- extends org.apache.commons.jelly.TagLibrary
Describes the Taglib. This class could be generated by XDoclet
- Version:
- $Revision: 1.7 $
- Author:
- Theo Niemeijer
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 |
BeanTagLibrary
public BeanTagLibrary()
registerBean
public void registerBean(java.lang.String name,
java.lang.Class type)
- Allows tags to register new bean types
registerBean
public 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
registerBean
public 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
createTagScript
public org.apache.commons.jelly.impl.TagScript createTagScript(java.lang.String name,
org.xml.sax.Attributes attributes)
throws org.apache.commons.jelly.JellyException
- Overrides:
createTagScript
in class org.apache.commons.jelly.TagLibrary
createTagFactory
protected org.apache.commons.jelly.impl.TagFactory createTagFactory(java.lang.String name,
org.xml.sax.Attributes attributes)
throws org.apache.commons.jelly.JellyException
- Factory method to create a TagFactory for a given tag attribute and attributes
createBeanTag
protected org.apache.commons.jelly.Tag createBeanTag(java.lang.String name,
org.xml.sax.Attributes attributes)
throws org.apache.commons.jelly.JellyException
getBeanType
protected java.lang.Class getBeanType(java.lang.String name,
org.xml.sax.Attributes attributes)
Copyright © 2002-2004 Apache Software Foundation. All Rights Reserved.