Uses of Interface
org.apache.commons.jelly.Tag

Packages that use Tag
Package
Description
This package contains the main jelly API classes.
Core implementation classes for Jelly.
The core Tags from the JSTL plus Jelly extensions.
 
  • Uses of Tag in org.apache.commons.jelly

    Subinterfaces of Tag in org.apache.commons.jelly
    Modifier and Type
    Interface
    Description
    interface 
    DynaTag represents a Jelly custom tag which can take its attributes dynamically and store them in some data structure.
    interface 
    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 
    DynaBeanTag is a DynaTag implementation which uses a DynaBean to store its attribute values in.
    class 
    DynaTagSupport is an abstract base class for any DynaTag implementation to derive from.
    class 
    MapTag is a DynaTag implementation which uses a Map to store its attribute values in.
    class 
    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 tag
    Methods in org.apache.commons.jelly that return Tag
    Modifier and Type
    Method
    Description
    TagLibrary.createTag(String name, Attributes attributes)
    Creates a new Tag for the given tag name and attributes
    protected 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 type
    static 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.getParent()
     
    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 type
    static 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 tag
    void
    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 
    This tag is bound onto a Java Bean class.
    class 
    This tag is bound onto a DynaClass instance.
    class 
    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 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
    DefaultTagFactory.createTag(String name, Attributes attributes)
     
    DynamicTagLibrary.createTag(String name, Attributes attributes)
    Creates a new Tag for the given tag name if it exists
    protected Tag
    StaticTagScript.createTag()
     
    TagFactory.createTag(String name, Attributes attributes)
    Creates a Tag for the given local name and the SAX attributes
    protected 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 compiled
    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 
    An argument to a NewTag or InvokeTag.
    class 
    Abstract base tag providing ClassLoader support.
    class 
    A tag which terminates the execution of the current <forEach> or <while> loop.
    class 
    A tag which conditionally evaluates its body if my value attribute equals my ancestor <switch> tag's "on" attribute.
    class 
    A tag which catches exceptions thrown by its body.
    class 
    A tag which conditionally evaluates its body based on some condition
    class 
    A tag which conditionally evaluates its body if none of its preceeding sibling <case> tags have been evaluated.
    class 
    A tag which evaluates an expression
    class 
    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 
    Iterates over a collection, iterator or an array of objects.
    class 
    A tag which can retrieve the value of a static field of a given class.
    class 
    Deprecated.
    Implemented as TagScript in CoreTagLibrary
    class 
    Imports another script.
    class 
    A tag which conditionally evaluates its body based on some condition
    class 
    A Tag which can invoke a static method on a class, without an instance of the class being needed.
    class 
    A tag which calls a method in an object instantied by core:new
    class 
    Deprecated.
    Implemented as TagScript in CoreTagLibrary
    class 
    A tag which executes its body but passing no output.
    class 
    A tag which creates a new object of the given type
    class 
    The otherwise block of a choose/when/otherwise group of tags
    class 
    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 
    A tag which removes the variable of the given name from the current variable scope.
    class 
    A tag which creates a new child variable scope for its body.
    class 
    A tag which sets the bean properties on the given bean.
    class 
    Deprecated.
    Implemented as TagScript in CoreTagLibrary
    class 
    Executes the child <case> tag whose value equals my on attribute.
    class 
    A tag that spawns the contained script in a separate thread
    class 
    A tag which instantiates an instance of the given class and then sets the properties on the bean.
    class 
    A tag which creates a List implementation and optionally adds all of the elements identified by the items attribute.
    class 
    A tag which conditionally evaluates its body based on some condition
    class 
    A tag which performs an iteration while the result of an expression is true.
    class 
    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 
    An abstract base class useful for implementation inheritence