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.
|
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 |
DynaTagSupport.getAttributeType(String name) |
Class |
DynaTag.getAttributeType(String name) |
Class |
DynaBeanTagSupport.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 |
TagSupport.invokeBody(XMLOutput output)
Invokes the body of this tag using the given output
|
void |
Tag.invokeBody(XMLOutput output)
A helper method to invoke this tags body
|
void |
Script.run(JellyContext context,
XMLOutput output)
Evaluates the body of a tag
|
void |
DynaTag.setAttribute(String name,
Object value)
Sets an attribute value of this tag before the tag is invoked
|
void |
DynaBeanTagSupport.setAttribute(String name,
Object value)
Sets an attribute value of this tag before the tag is invoked
|
void |
TagSupport.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 |
DynaBeanTagSupport.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 |
DynamicBeanTag.beforeSetAttributes() |
void |
DynamicDynaBeanTag.beforeSetAttributes() |
void |
DynamicBeanTag.doTag(XMLOutput output) |
void |
DynamicTag.doTag(XMLOutput output) |
void |
DynamicDynaBeanTag.doTag(XMLOutput output) |
void |
StaticTag.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 |
ExpressionScript.run(JellyContext context,
XMLOutput output)
Evaluates the body of a tag
|
void |
StaticTagScript.run(JellyContext context,
XMLOutput output) |
void |
TagScript.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 |
DynamicBeanTag.setAttribute(String name,
Object value) |
void |
DynamicDynaBeanTag.setAttribute(String name,
Object value) |
void |
StaticTag.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 |
WhenTag.doTag(XMLOutput output) |
void |
ThreadTag.doTag(XMLOutput output) |
void |
CaseTag.doTag(XMLOutput output) |
void |
ArgTag.doTag(XMLOutput output) |
void |
DefaultTag.doTag(XMLOutput output) |
void |
NewTag.doTag(XMLOutput output) |
void |
MuteTag.doTag(XMLOutput output)
Invoke the body and produce no output.
|
void |
GetStaticTag.doTag(XMLOutput output) |
void |
UseBeanTag.doTag(XMLOutput output) |
void |
SetPropertiesTag.doTag(XMLOutput output) |
void |
SwitchTag.doTag(XMLOutput output) |
void |
ChooseTag.doTag(XMLOutput output) |
void |
ImportTag.doTag(XMLOutput output)
Perform tag processing
|
void |
IncludeTag.doTag(XMLOutput output) |
void |
FileTag.doTag(XMLOutput output) |
void |
ParseTag.doTag(XMLOutput output) |
void |
OtherwiseTag.doTag(XMLOutput output) |
void |
ScopeTag.doTag(XMLOutput output) |
void |
IfTag.doTag(XMLOutput output)
Deprecated.
|
void |
CatchTag.doTag(XMLOutput output) |
void |
InvokeTag.doTag(XMLOutput output) |
void |
WhileTag.doTag(XMLOutput output)
Tag interface
|
void |
ForEachTag.doTag(XMLOutput output) |
void |
ExprTag.doTag(XMLOutput output) |
void |
JellyTag.doTag(XMLOutput output)
Deprecated.
|
void |
WhitespaceTag.doTag(XMLOutput output) |
void |
SetTag.doTag(XMLOutput output)
Deprecated.
|
void |
InvokeStaticTag.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 |
UseListTag.setBeanProperties(Object bean,
Map attributes) |
protected void |
UseBeanTag.setBeanProperties(Object bean,
Map attributes)
Sets the properties on the bean.
|
protected void |
SetPropertiesTag.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
|
Copyright © 2014 Apache Software Foundation. All rights reserved.