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
|
Modifier and Type | Class and Description |
---|---|
class |
MissingAttributeException
JellyException is the root of all Jelly exceptions. |
Modifier and Type | Method and Description |
---|---|
void |
DynaBeanTagSupport.beforeSetAttributes()
Callback to allow processing to occur before the attributes are about to be set
|
void |
Tag.doTag(XMLOutput output)
Evaluates this tag after all the tags properties have been initialized.
|
Class |
DynaBeanTagSupport.getAttributeType(String name) |
Class |
DynaTag.getAttributeType(String name) |
Class |
DynaTagSupport.getAttributeType(String name) |
protected String |
TagSupport.getBodyText()
Executes the body of the tag and returns the result as a String.
|
protected String |
TagSupport.getBodyText(boolean shouldEscape)
Executes the body of the tag and returns the result as a String.
|
void |
Tag.invokeBody(XMLOutput output)
A helper method to invoke this tags body
|
void |
TagSupport.invokeBody(XMLOutput output)
Invokes the body of this tag using the given output
|
void |
Script.run(JellyContext context,
XMLOutput output)
Evaluates the body of a tag
|
void |
DynaBeanTagSupport.setAttribute(String name,
Object value)
Sets an attribute value of this tag before the tag is invoked
|
void |
DynaTag.setAttribute(String name,
Object value)
Sets an attribute value of this tag before the tag is invoked
|
void |
DynaBeanTagSupport.setContext(JellyContext context)
Sets the context in which the tag will be run.
|
void |
Tag.setContext(JellyContext context)
Sets the context in which the tag will be run
|
void |
TagSupport.setContext(JellyContext context)
Sets the context in which the tag will be run
|
Modifier and Type | Class and Description |
---|---|
class |
BreakException
BreakException is used to terminate loops such as
<forEach> and <while> tags. |
Modifier and Type | Method and Description |
---|---|
protected void |
TagScript.handleException(JellyTagException e)
A helper method to handle this Jelly exception.
|
Modifier and Type | Method and Description |
---|---|
void |
CollectionTag.addItem(Object value) |
void |
DynamicDynaBeanTag.beforeSetAttributes() |
void |
DynamicBeanTag.beforeSetAttributes() |
void |
DynamicTag.doTag(XMLOutput output) |
void |
StaticTag.doTag(XMLOutput output) |
void |
DynamicDynaBeanTag.doTag(XMLOutput output) |
void |
DynamicBeanTag.doTag(XMLOutput output) |
Object |
BeanSource.getBean() |
protected String |
TagScript.getBodyText(JellyContext context,
boolean shouldEscape)
Evaluates the body and obtains it as a string.
|
protected void |
TagScript.handleException(Error e)
A helper method to handle this non-Jelly exception.
|
protected void |
TagScript.handleException(Exception e)
A helper method to handle this non-Jelly exception.
|
protected void |
TagScript.handleException(JellyException e)
A helper method to handle this Jelly exception.
|
protected void |
TagScript.handleException(JellyTagException e)
A helper method to handle this Jelly exception.
|
void |
ScriptBlock.run(JellyContext context,
XMLOutput output)
Evaluates the body of a tag
|
void |
TextScript.run(JellyContext context,
XMLOutput output)
Evaluates the body of a tag
|
void |
StaticTagScript.run(JellyContext context,
XMLOutput output) |
void |
ExpressionScript.run(JellyContext context,
XMLOutput output)
Evaluates the body of a tag
|
void |
TagScript.run(JellyContext context,
XMLOutput output)
Evaluates the body of a tag
|
void |
StaticTag.setAttribute(String name,
Object value) |
void |
DynamicDynaBeanTag.setAttribute(String name,
Object value) |
void |
DynamicBeanTag.setAttribute(String name,
Object value) |
protected void |
TagScript.setContextURLs(JellyContext context)
Set the context's root and current URL if not present
|
Modifier and Type | Method and Description |
---|---|
protected JellyTagException |
InvokeStaticTag.createLoadClassFailedException(Exception e)
Factory method to create a new JellyTagException instance from a given
failure exception
|
Modifier and Type | Method and Description |
---|---|
void |
CatchTag.doTag(XMLOutput output) |
void |
SwitchTag.doTag(XMLOutput output) |
void |
ThreadTag.doTag(XMLOutput output) |
void |
GetStaticTag.doTag(XMLOutput output) |
void |
ArgTag.doTag(XMLOutput output) |
void |
ExprTag.doTag(XMLOutput output) |
void |
FileTag.doTag(XMLOutput output) |
void |
ParseTag.doTag(XMLOutput output) |
void |
CaseTag.doTag(XMLOutput output) |
void |
MuteTag.doTag(XMLOutput output)
Invoke the body and produce no output.
|
void |
IncludeTag.doTag(XMLOutput output) |
void |
ForEachTag.doTag(XMLOutput output) |
void |
JellyTag.doTag(XMLOutput output)
Deprecated.
|
void |
ImportTag.doTag(XMLOutput output)
Perform tag processing
|
void |
ChooseTag.doTag(XMLOutput output) |
void |
SetTag.doTag(XMLOutput output)
Deprecated.
|
void |
OtherwiseTag.doTag(XMLOutput output) |
void |
SetPropertiesTag.doTag(XMLOutput output) |
void |
InvokeTag.doTag(XMLOutput output) |
void |
InvokeStaticTag.doTag(XMLOutput output) |
void |
IfTag.doTag(XMLOutput output)
Deprecated.
|
void |
NewTag.doTag(XMLOutput output) |
void |
WhileTag.doTag(XMLOutput output)
Tag interface
|
void |
WhitespaceTag.doTag(XMLOutput output) |
void |
DefaultTag.doTag(XMLOutput output) |
void |
UseBeanTag.doTag(XMLOutput output) |
void |
ScopeTag.doTag(XMLOutput output) |
void |
WhenTag.doTag(XMLOutput output) |
Class |
UseListTag.getAttributeType(String name) |
protected Object |
UseBeanTag.newInstance(Class theClass,
Map attributes,
XMLOutput output)
Creates a new instance of the given class, which by default will invoke the
default constructor.
|
protected void |
ParseTag.parseBody(XMLOutput output)
Parses the body of this tag and returns the parsed document
|
protected void |
ParseTag.parseText(String text)
Parses the give piece of text as being markup
|
protected void |
UseListTag.processBean(String var,
Object bean) |
protected void |
UseBeanTag.processBean(String var,
Object bean)
By default this will export the bean using the given variable if it is defined.
|
protected void |
SetPropertiesTag.setBeanProperties(Object bean,
Map attributes)
Sets the properties on the bean.
|
protected void |
UseListTag.setBeanProperties(Object bean,
Map attributes) |
protected void |
UseBeanTag.setBeanProperties(Object bean,
Map attributes)
Sets the properties on the bean.
|
protected void |
UseBeanTag.validateBeanProperties(Object bean,
Map attributes)
If
UseBeanTag.isIgnoreUnknownProperties() returns true, make sure that
every non-ignored (UseBeanTag.addIgnoreProperty(String) ) property
matches a writable property on the target bean. |
protected void |
FileTag.writeBody(Writer writer)
Writes the body fo this tag to the given Writer
|
Modifier and Type | Method and Description |
---|---|
void |
ScriptTag.doTag(XMLOutput output) |
void |
ExtendTag.doTag(XMLOutput output) |
void |
AttributeTag.doTag(XMLOutput output) |
void |
TaglibTag.doTag(XMLOutput output) |
void |
DynaBeanTag.doTag(XMLOutput output) |
void |
ClassLoaderTag.doTag(XMLOutput output) |
void |
InvokeBodyTag.doTag(XMLOutput output) |
void |
InvokeTag.doTag(XMLOutput output) |
void |
TagTag.doTag(XMLOutput output) |
void |
BeanTag.doTag(XMLOutput output) |
void |
SuperTag.doTag(XMLOutput output) |
protected DynamicTagLibrary |
DefineTagSupport.getTagLibrary() |
Modifier and Type | Method and Description |
---|---|
void |
DynabeanTag.doTag(XMLOutput output) |
void |
PropertyTag.doTag(XMLOutput output) |
void |
DynaclassTag.doTag(XMLOutput output) |
void |
SetTag.doTag(XMLOutput output) |
Modifier and Type | Method and Description |
---|---|
void |
TimeZoneTag.doTag(XMLOutput output)
Evaluates this tag after all the tags properties have been initialized.
|
void |
SetTimeZoneTag.doTag(XMLOutput output)
Evaluates this tag after all the tags properties have been initialized.
|
void |
FormatDateTag.doTag(XMLOutput output)
Evaluates this tag after all the tags properties have been initialized.
|
void |
SetBundleTag.doTag(XMLOutput output)
Evaluates this tag after all the tags properties have been initialized.
|
void |
MessageTag.doTag(XMLOutput output) |
void |
ParamTag.doTag(XMLOutput output)
Evaluates this tag after all the tags properties have been initialized.
|
void |
BundleTag.doTag(XMLOutput output)
Evaluates this tag after all the tags properties have been initialized.
|
void |
SetLocaleTag.doTag(XMLOutput output)
Evaluates this tag after all the tags properties have been initialized.
|
static int |
FormatDateTag.getStyle(String style,
String errCode) |
Modifier and Type | Method and Description |
---|---|
void |
AssertThrowsTag.doTag(XMLOutput output) |
void |
FailTag.doTag(XMLOutput output) |
void |
SuiteTag.doTag(XMLOutput output) |
void |
CaseTag.doTag(XMLOutput output) |
void |
RunTag.doTag(XMLOutput output) |
void |
AssertFileNotFoundTag.doTag(XMLOutput output)
Do the tag functionality: check the file can't be found.
|
void |
AssertEqualsTag.doTag(XMLOutput output) |
void |
AssertFileExistsTag.doTag(XMLOutput output)
Do the tag functionality: check the file exists.
|
void |
AssertTag.doTag(XMLOutput output) |
void |
AssertFileContainsTag.doTag(XMLOutput output)
Do the tag functionality: check the file exists.
|
Modifier and Type | Method and Description |
---|---|
void |
WarnTag.doTag(XMLOutput output) |
void |
InfoTag.doTag(XMLOutput output) |
void |
DebugTag.doTag(XMLOutput output) |
void |
FatalTag.doTag(XMLOutput output) |
void |
ErrorTag.doTag(XMLOutput output) |
void |
TraceTag.doTag(XMLOutput output) |
Modifier and Type | Method and Description |
---|---|
void |
TransformTag.doTag(XMLOutput output)
Process this tag instance
|
void |
AttributeTag.doTag(XMLOutput output) |
void |
CopyTag.doTag(XMLOutput output) |
void |
ExprTag.doTag(XMLOutput output) |
void |
ElementTag.doTag(XMLOutput output) |
void |
ParseTag.doTag(XMLOutput output) |
void |
ForEachTag.doTag(XMLOutput output) |
void |
SortTag.doTag(XMLOutput output) |
void |
SetTag.doTag(XMLOutput output) |
void |
ReplaceNamespaceTag.doTag(XMLOutput output) |
void |
CommentTag.doTag(XMLOutput output) |
void |
IfTag.doTag(XMLOutput output) |
void |
CopyOfTag.doTag(XMLOutput output) |
void |
ParamTag.doTag(XMLOutput output) |
void |
DoctypeTag.doTag(XMLOutput output) |
protected org.dom4j.Document |
ParseTag.getXmlDocument(XMLOutput output) |
protected org.dom4j.Document |
ParseTagSupport.parse(Object source)
Parses the given source
|
protected org.dom4j.Document |
ParseTagSupport.parseBody(XMLOutput output)
Parses the body of this tag and returns the parsed document
|
protected org.dom4j.Document |
ParseTagSupport.parseText(String text)
Parses the give piece of text as being markup
|
void |
ElementTag.setAttributeValue(String name,
String value,
String uri)
Sets the attribute of the given name to the specified value.
|
Copyright © 2014. All rights reserved.