Uses of Interface
org.apache.commons.jelly.Tag
-
Packages that use Tag Package Description org.apache.commons.jelly This package contains the main jelly API classes.org.apache.commons.jelly.impl Core implementation classes for Jelly.org.apache.commons.jelly.tags.core The core Tags from the JSTL plus Jelly extensions.org.apache.commons.jelly.xpath -
-
Uses of Tag in org.apache.commons.jelly
Subinterfaces of Tag in org.apache.commons.jelly Modifier and Type Interface Description interface
DynaTag
DynaTag
represents a Jelly custom tag which can take its attributes dynamically and store them in some data structure.interface
NamespaceAwareTag
NamespaceAwareTag
represents a Jelly custom tag which needs to be aware of the XML Namespace context in which it is used.Classes in org.apache.commons.jelly that implement Tag Modifier and Type Class Description class
DynaBeanTagSupport
DynaBeanTag
is a DynaTag implementation which uses a DynaBean to store its attribute values in.class
DynaTagSupport
DynaTagSupport
is an abstract base class for any DynaTag implementation to derive from.class
MapTagSupport
MapTag
is a DynaTag implementation which uses a Map to store its attribute values in.class
TagSupport
TagSupport
an abstract base class which is useful to inherit from if developing your own tag.Fields in org.apache.commons.jelly declared as Tag Modifier and Type Field Description protected Tag
TagSupport. parent
the parent of this tagMethods in org.apache.commons.jelly that return Tag Modifier and Type Method Description Tag
TagLibrary. createTag(String name, Attributes attributes)
Creates a new Tag for the given tag name and attributesprotected Tag
TagSupport. findAncestorWithClass(Class parentClass)
Searches up the parent hierarchy for a Tag of the given type.protected Tag
TagSupport. findAncestorWithClass(Class[] parentClasses)
Searches up the parent hierarchy for a Tag of one of the given types.protected Tag
TagSupport. findAncestorWithClass(Collection parentClasses)
Searches up the parent hierarchy for a Tag of one of the given types.static Tag
TagSupport. findAncestorWithClass(Tag from, Class tagClass)
Searches up the parent hierarchy from the given tag for a Tag of the given typestatic Tag
TagSupport. findAncestorWithClass(Tag from, Class[] tagClasses)
Searches up the parent hierarchy from the given tag for a Tag matching one or more of given types.static Tag
TagSupport. findAncestorWithClass(Tag from, Collection tagClasses)
Searches up the parent hierarchy from the given tag for a Tag matching one or more of given types.Tag
Tag. getParent()
Tag
TagSupport. getParent()
Methods in org.apache.commons.jelly with parameters of type Tag Modifier and Type Method Description static Tag
TagSupport. findAncestorWithClass(Tag from, Class tagClass)
Searches up the parent hierarchy from the given tag for a Tag of the given typestatic Tag
TagSupport. findAncestorWithClass(Tag from, Class[] tagClasses)
Searches up the parent hierarchy from the given tag for a Tag matching one or more of given types.static Tag
TagSupport. findAncestorWithClass(Tag from, Collection tagClasses)
Searches up the parent hierarchy from the given tag for a Tag matching one or more of given types.void
Tag. setParent(Tag parent)
Sets the parent of this tagvoid
TagSupport. setParent(Tag parent)
Sets the parent of this tag -
Uses of Tag in org.apache.commons.jelly.impl
Classes in org.apache.commons.jelly.impl that implement Tag Modifier and Type Class Description class
DynamicBeanTag
This tag is bound onto a Java Bean class.class
DynamicDynaBeanTag
This tag is bound onto aDynaClass
instance.class
DynamicTag
DynamicTag
is a tag that is created from inside a Jelly script as a Jelly template and will invoke a given script, passing in its instantiation attributes as variables and will allow the template to invoke its instance body.class
StaticTag
StaticTag
represents a static XML element which echos itself to XMLOutput when it is invoked.Methods in org.apache.commons.jelly.impl that return Tag Modifier and Type Method Description Tag
DefaultTagFactory. createTag(String name, Attributes attributes)
Tag
DynamicTagLibrary. createTag(String name, Attributes attributes)
Creates a new Tag for the given tag name if it existsprotected Tag
StaticTagScript. createTag()
Tag
TagFactory. createTag(String name, Attributes attributes)
Creates a Tag for the given local name and the SAX attributesprotected Tag
TagScript. createTag()
Factory method to create a new Tag instance.protected Tag
StaticTagScript. findDynamicTag(JellyContext context, StaticTag tag)
Attempts to find a dynamically created tag that has been created since this script was compiledTag
TagScript. getTag(JellyContext context)
Methods in org.apache.commons.jelly.impl with parameters of type Tag Modifier and Type Method Description protected void
TagScript. configureTag(Tag tag, JellyContext context)
Compiles a newly created tag if required, sets its parent and body.protected void
TagScript. setTag(Tag tag, JellyContext context)
Allows the script to set the tag instance to be used, such as in a StaticTagScript when a StaticTag is switched with a DynamicTag -
Uses of Tag in org.apache.commons.jelly.tags.core
Classes in org.apache.commons.jelly.tags.core that implement Tag Modifier and Type Class Description class
ArgTag
class
BaseClassLoaderTag
Abstract base tag providingClassLoader
support.class
BreakTag
A tag which terminates the execution of the current <forEach> or <while> loop.class
CaseTag
class
CatchTag
A tag which catches exceptions thrown by its body.class
ChooseTag
A tag which conditionally evaluates its body based on some conditionclass
DefaultTag
A tag which conditionally evaluates its body if none of its preceeding sibling<case>
tags have been evaluated.class
ExprTag
A tag which evaluates an expressionclass
FileTag
A tag that pipes its body to a file denoted by the name attribute or to an in memory String which is then output to a variable denoted by the var variable.class
ForEachTag
Iterates over a collection, iterator or an array of objects.class
GetStaticTag
A tag which can retrieve the value of a static field of a given class.class
IfTag
Deprecated.Implemented asTagScript
inCoreTagLibrary
class
ImportTag
Imports another script.class
IncludeTag
A tag which conditionally evaluates its body based on some conditionclass
InvokeStaticTag
A Tag which can invoke a static method on a class, without an instance of the class being needed.class
InvokeTag
A tag which calls a method in an object instantied by core:newclass
JellyTag
Deprecated.Implemented asTagScript
inCoreTagLibrary
class
MuteTag
A tag which executes its body but passing no output.class
NewTag
A tag which creates a new object of the given typeclass
OtherwiseTag
The otherwise block of a choose/when/otherwise group of tagsclass
ParseTag
Parses the output of this tags body or of a given String as a Jelly script then either outputting the Script as a variable or executing the script.class
RemoveTag
A tag which removes the variable of the given name from the current variable scope.class
ScopeTag
A tag which creates a new child variable scope for its body.class
SetPropertiesTag
A tag which sets the bean properties on the given bean.class
SetTag
Deprecated.Implemented asTagScript
inCoreTagLibrary
class
SwitchTag
Executes the child <case> tag whose value equals my on attribute.class
ThreadTag
A tag that spawns the contained script in a separate threadclass
UseBeanTag
A tag which instantiates an instance of the given class and then sets the properties on the bean.class
UseListTag
A tag which creates a List implementation and optionally adds all of the elements identified by the items attribute.class
WhenTag
A tag which conditionally evaluates its body based on some conditionclass
WhileTag
A tag which performs an iteration while the result of an expression is true.class
WhitespaceTag
A simple tag used to preserve whitespace inside its body -
Uses of Tag in org.apache.commons.jelly.xpath
Classes in org.apache.commons.jelly.xpath that implement Tag Modifier and Type Class Description class
XPathTagSupport
An abstract base class useful for implementation inheritence
-