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.tags.define |
Tag library which allows the creation of new tags using Jelly script itself.
|
org.apache.commons.jelly.tags.dynabean |
A tag library for creating new DynaClass and DynaBean objects from the
beanutils library
|
org.apache.commons.jelly.tags.fmt | |
org.apache.commons.jelly.tags.junit |
A collection of JUnit tags for
performing unit tests written in Jelly script.
|
org.apache.commons.jelly.tags.log |
Custom tags for generating textual logging information using
commons-logging
which will use either log4j, logkit or JDK1.4 logging
depending on the classpath and configuration.
|
org.apache.commons.jelly.tags.xml |
The XML Tags from the JSTL
|
org.apache.commons.jelly.xpath |
Modifier and Type | Interface and 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. |
Modifier and Type | Class and 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. |
Modifier and Type | Field and Description |
---|---|
protected Tag |
TagSupport.parent
the parent of this tag
|
Modifier and Type | Method and Description |
---|---|
Tag |
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 |
Tag.getParent() |
Tag |
TagSupport.getParent() |
Modifier and Type | Method and 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
|
Modifier and Type | Class and Description |
---|---|
class |
DynamicBeanTag
This tag is bound onto a Java Bean class.
|
class |
DynamicDynaBeanTag
This tag is bound onto a
DynaClass 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. |
Modifier and Type | Method and Description |
---|---|
protected Tag |
StaticTagScript.createTag() |
protected Tag |
TagScript.createTag()
Factory method to create a new Tag instance.
|
Tag |
TagFactory.createTag(String name,
Attributes attributes)
Creates a Tag for the given local name and the SAX attributes
|
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 exists
|
protected Tag |
StaticTagScript.findDynamicTag(JellyContext context,
StaticTag tag)
Attempts to find a dynamically created tag that has been created since this
script was compiled
|
Tag |
TagScript.getTag(JellyContext context) |
Modifier and Type | Method and 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
|
Modifier and Type | Class and Description |
---|---|
class |
ArgTag
|
class |
BaseClassLoaderTag
Abstract base tag providing
ClassLoader 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 condition
|
class |
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 expression
|
class |
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 as
TagScript in CoreTagLibrary |
class |
ImportTag
Imports another script.
|
class |
IncludeTag
A tag which conditionally evaluates its body based on some condition
|
class |
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:new
|
class |
JellyTag
Deprecated.
Implemented as
TagScript in CoreTagLibrary |
class |
MuteTag
A tag which executes its body but passing no output.
|
class |
NewTag
A tag which creates a new object of the given type
|
class |
OtherwiseTag
The otherwise block of a choose/when/otherwise group of tags
|
class |
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 as
TagScript in CoreTagLibrary |
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 thread
|
class |
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 condition
|
class |
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
|
Modifier and Type | Class and Description |
---|---|
class |
BeanTag
Binds a Java bean to the given named Jelly tag so that the attributes of
the tag set the bean properties..
|
class |
ClassLoaderTag
Creates a new
URLClassLoader to dynamically
load tags froms. |
class |
DefineTagSupport
An abstract base class useful for implementation inheritence.
|
class |
DynaBeanTag
Binds a Java bean to the given named Jelly tag so that the attributes of
the tag set the bean properties..
|
class |
ExtendTag
<extend> is used to extend a dynamic tag defined in an inherited
dynamic tag library
|
class |
InvokeBodyTag
<invokeBody> tag is used inside a <tag> tag
(i.e.
|
class |
JellyBeanTag
Binds a Java bean to the given named Jelly tag so that the attributes of
the tag set the bean properties.
|
class |
ScriptTag
<script> tag is used to assign a Script object
to a variable.
|
class |
SuperTag
<super> tag is used to invoke a parent tag implementation, when
a tag extends an existing tag
|
class |
TaglibTag
The <taglib> tag is used to define a new tag library
using a Jelly script.
|
class |
TagTag
<tag> is used to define a new tag
using a Jelly script to implement the behaviour of the tag.
|
Modifier and Type | Class and Description |
---|---|
class |
DynabeanTag
A tag which conditionally evaluates its body based on some condition
|
class |
DynaclassTag
A tag which creates and defines and creates a DynaClass
The DynaClass object is placed by name in the context,
so that a DynaBean tag can use it by name to instantiate
a DynaBean object
|
class |
PropertyTag
DynaProperty tag defines a property of a DynaClass
It can only exist inside a DynaClass parent context
The properties are added to the properties array
of the parent context, and will be used to
create the DynaClass object
|
Modifier and Type | Class and Description |
---|---|
class |
BundleTag
Support for tag handlers for <bundle>, the resource bundle loading
tag in JSTL.
|
class |
FormatDateTag
Support for tag handlers for <formatDate>, the date and time formatting
tag in JSTL.
|
class |
MessageTag
Support for tag handlers for <message>, the lookup up
localized message tag in JSTL.
|
class |
ParamTag
Support for tag handlers for <param>, the parameter setting
tag in JSTL.
|
class |
SetBundleTag
Support for tag handlers for <setLocale>, the bundle setting
tag in JSTL.
|
class |
SetLocaleTag
Support for tag handlers for <setLocale>, the locale setting
tag in JSTL.
|
class |
SetTimeZoneTag
Support for tag handlers for <setTimeZone>, the time zone setting
tag in JSTL.
|
class |
TimeZoneTag
Support for tag handlers for <timeZone>, the time zone loading
tag in JSTL.
|
Modifier and Type | Class and Description |
---|---|
class |
AssertEqualsTag
Compares an actual object against an expected object and if they are different
then the test will fail.
|
class |
AssertFileContainsTag
Checks that a file exists, and if not, then the test will fail.
|
class |
AssertFileExistsTag
Checks that a file exists, and if not, then the test will fail.
|
class |
AssertFileNotFoundTag
Checks that a file cant be found.
|
class |
AssertTag
Performs an assertion that a given boolean expression, or XPath expression is
true.
|
class |
AssertTagSupport
The abstract base class of any assertion tag which is
useful for implementation inheritence.
|
class |
AssertThrowsTag
Runs its body and asserts that an exception is thrown by it.
|
class |
FailTag
This tag causes a failure message.
|
class |
RunTag
This tag will run the given Test which could be an individual TestCase or a TestSuite.
|
class |
SuiteTag
Represents a collection of TestCases..
|
Modifier and Type | Class and Description |
---|---|
class |
DebugTag
A tag which generates DEBUG level logging statement using
the given category name.
|
class |
ErrorTag
A tag which generates ERROR level logging statement using
the given category name.
|
class |
FatalTag
A tag which generates FATAL level logging statement using
the given category name.
|
class |
InfoTag
A tag which generates INFO level logging statement using
the given category name.
|
class |
LogTagSupport
An abstract base class for any logging tag..
|
class |
TraceTag
A tag which generates TRACE level logging statement using
the given category name.
|
class |
WarnTag
A tag which generates WARN level logging statement using
the given category name.
|
Modifier and Type | Class and Description |
---|---|
class |
AttributeTag
Adds an XML attribute to the parent element tag like
the
<xsl:attribute> tag. |
class |
CommentTag
A tag which outputs a comment to the underlying XMLOutput based on the
contents of its body.
|
class |
CopyOfTag
A tag which performs a copy-of operation like the XSLT tag
|
class |
CopyTag
A tag which performs a copy operation like the XSLT tag,
performing a shallow copy of the element and its attributes but no content.
|
class |
DoctypeTag
A tag which outputs a DOCTYPE declaration to the current XML output pipe.
|
class |
ElementTag
A tag to produce an XML element which can contain other attributes
or elements like the
<xsl:element> tag. |
class |
ParseTagSupport
An abstract base class for any tag which parsers its body as XML.
|
class |
ReplaceNamespaceTag
Replace namespace is a filter to change the namespace of any
elemement attribute passing through it.
|
class |
SortTag
A tag that can sort a list of xml nodes via an xpath expression.
|
class |
TransformTag
A tag which parses some XML, applies an xslt transform to it
and defines a variable with the transformed Document.
|
Modifier and Type | Class and Description |
---|---|
class |
XPathTagSupport
An abstract base class useful for implementation inheritence
|
Copyright © 2014. All rights reserved.