|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.jelly.TagLibrary
public abstract class TagLibrary
Taglib
represents the metadata for a Jelly custom tag library.
Field Summary | |
---|---|
private java.util.Map |
tags
|
Constructor Summary | |
---|---|
TagLibrary()
|
Method Summary | |
---|---|
Expression |
createExpression(ExpressionFactory factory,
TagScript tagScript,
java.lang.String attributeName,
java.lang.String attributeValue)
Allows taglibs to use their own expression evaluation mechanism |
Tag |
createTag(java.lang.String name,
org.xml.sax.Attributes attributes)
Creates a new Tag for the given tag name and attributes |
TagScript |
createTagScript(java.lang.String name,
org.xml.sax.Attributes attributes)
Creates a new script to execute the given tag name and attributes |
protected ExpressionFactory |
getExpressionFactory()
Allows derived tag libraries to use their own factory |
protected java.util.Map |
getTagClasses()
|
protected void |
registerTag(java.lang.String name,
java.lang.Class type)
Registers a tag implementation Class for a given tag name |
protected void |
registerTagFactory(java.lang.String name,
TagFactory tagFactory)
Registers a tag factory for a given tag name |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.util.Map tags
Constructor Detail |
---|
public TagLibrary()
Method Detail |
---|
public TagScript createTagScript(java.lang.String name, org.xml.sax.Attributes attributes) throws JellyException
JellyException
public Tag createTag(java.lang.String name, org.xml.sax.Attributes attributes) throws JellyException
JellyException
public Expression createExpression(ExpressionFactory factory, TagScript tagScript, java.lang.String attributeName, java.lang.String attributeValue) throws JellyException
JellyException
protected void registerTag(java.lang.String name, java.lang.Class type)
protected void registerTagFactory(java.lang.String name, TagFactory tagFactory)
protected ExpressionFactory getExpressionFactory()
protected java.util.Map getTagClasses()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |