|
|||||||||||
| 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.swing.SwingTagLibrary
A Jelly custom tag library that allows Ant tasks to be called from inside Jelly.
| Field Summary | |
private java.util.Map |
factoryMap
A map of element name to bean class objects |
private static org.apache.commons.logging.Log |
log
The Log to which logging calls will be made. |
| Fields inherited from class org.apache.commons.jelly.TagLibrary |
|
| Constructor Summary | |
SwingTagLibrary()
|
|
| Method Summary | |
org.apache.commons.jelly.impl.TagScript |
createTagScript(java.lang.String name,
org.xml.sax.Attributes attributes)
Creates a new script to execute the given tag name and attributes |
Factory |
getFactory(java.lang.String elementName)
|
protected java.util.Map |
getFactoryMap()
|
protected void |
registerBeanFactory(java.lang.String name,
java.lang.Class beanClass)
Register a bean factory for the given element name and class |
protected void |
registerFactories()
Strategy method allowing derived classes to change the registration behaviour |
protected void |
registerFactory(java.lang.String name,
Factory factory)
Register a widget factory for the given element name |
| 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 static final org.apache.commons.logging.Log log
private java.util.Map factoryMap
| Constructor Detail |
public SwingTagLibrary()
| Method Detail |
public org.apache.commons.jelly.impl.TagScript createTagScript(java.lang.String name,
org.xml.sax.Attributes attributes)
throws org.apache.commons.jelly.JellyException
org.apache.commons.jelly.JellyExceptionpublic Factory getFactory(java.lang.String elementName)
protected void registerFactories()
protected void registerFactory(java.lang.String name,
Factory factory)
protected void registerBeanFactory(java.lang.String name,
java.lang.Class beanClass)
protected java.util.Map getFactoryMap()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||