org.apache.commons.jelly
Class TagLibrary
java.lang.Object
|
+--org.apache.commons.jelly.TagLibrary
- Direct Known Subclasses:
- AntlrTagLibrary, AntTagLibrary, CoreTagLibrary, DefineTagLibrary, DynamicTagLibrary, HTMLTagLibrary, HttpTagLibrary, InteractionTagLibrary, JMSTagLibrary, JUnitTagLibrary, LogTagLibrary, UtilTagLibrary, ValidateTagLibrary, WerkzTagLibrary, XMLTagLibrary
- public abstract class TagLibrary
- extends java.lang.Object
Taglib
represents the metadata for a Jelly custom tag library.
- Version:
- $Revision: 1.11 $
- Author:
- James Strachan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TagLibrary
public TagLibrary()
createTagScript
public TagScript createTagScript(java.lang.String name,
org.xml.sax.Attributes attributes)
throws java.lang.Exception
- Creates a new script to execute the given tag name and attributes
createExpression
public Expression createExpression(ExpressionFactory factory,
java.lang.String tagName,
java.lang.String attributeName,
java.lang.String attributeValue)
throws java.lang.Exception
- Allows taglibs to use their own expression evaluation mechanism
registerTag
protected void registerTag(java.lang.String name,
java.lang.Class type)
- Registers a tag class for a given tag name
getExpressionFactory
protected ExpressionFactory getExpressionFactory()
- Allows derived tag libraries to use their own factory
getTagClasses
protected java.util.Map getTagClasses()
Copyright © 2002-2002 Apache Software Foundation. All Rights Reserved.