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.test |
Modifier and Type | Method and Description |
---|---|
static XMLOutput |
XMLOutput.createDummyXMLOutput()
returns an XMLOutput object that will discard all
tag-generated XML events.
|
static XMLOutput |
XMLOutput.createXMLOutput(OutputStream out)
Creates a text based XMLOutput which converts all XML events into
text and writes to the underlying OutputStream.
|
static XMLOutput |
XMLOutput.createXMLOutput(OutputStream out,
boolean escapeText)
Creates a text based XMLOutput which converts all XML events into
text and writes to the underlying OutputStream.
|
static XMLOutput |
XMLOutput.createXMLOutput(Writer writer)
Creates a text based XMLOutput which converts all XML events into
text and writes to the underlying Writer.
|
static XMLOutput |
XMLOutput.createXMLOutput(Writer writer,
boolean escapeText)
Creates a text based XMLOutput which converts all XML events into
text and writes to the underlying Writer.
|
XMLOutput |
XMLOutputFactory.createXMLOutput(Writer writer,
boolean escapeText) |
static XMLOutput |
XMLOutput.createXMLOutput(XMLReader xmlReader)
Creates an XMLOutput from an existing SAX XMLReader.
|
protected static XMLOutput |
XMLOutput.createXMLOutput(org.dom4j.io.XMLWriter xmlWriter)
Factory method to create a new XMLOutput from an XMLWriter
|
Modifier and Type | Method and Description |
---|---|
void |
Tag.doTag(XMLOutput output)
Evaluates this tag after all the tags properties have been initialized.
|
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
|
JellyContext |
JellyContext.runScript(File file,
XMLOutput output)
Parses the script from the given File then compiles it and runs it.
|
JellyContext |
JellyContext.runScript(File file,
XMLOutput output,
boolean export,
boolean inherit)
Parses the script from the given file then compiles it and runs it.
|
JellyContext |
JellyContext.runScript(InputSource source,
XMLOutput output)
Parses the script from the given InputSource then compiles it and runs it.
|
JellyContext |
JellyContext.runScript(InputSource source,
XMLOutput output,
boolean export,
boolean inherit)
Parses the script from the given InputSource then compiles it and runs it.
|
JellyContext |
JellyContext.runScript(String uri,
XMLOutput output)
Parses the script from the given uri using the
JellyContext.getResource() API then compiles it and runs it.
|
JellyContext |
JellyContext.runScript(String uri,
XMLOutput output,
boolean export,
boolean inherit)
Parses the script from the given uri using the
JellyContext.getResource() API then compiles it and runs it.
|
JellyContext |
JellyContext.runScript(URL url,
XMLOutput output)
Parses the script from the given URL then compiles it and runs it.
|
JellyContext |
JellyContext.runScript(URL url,
XMLOutput output,
boolean export,
boolean inherit)
Parses the script from the given URL then compiles it and runs it.
|
Modifier and Type | Method and Description |
---|---|
void |
DynamicBeanTag.doTag(XMLOutput output) |
void |
DynamicTag.doTag(XMLOutput output) |
void |
DynamicDynaBeanTag.doTag(XMLOutput output) |
void |
StaticTag.doTag(XMLOutput output) |
protected void |
TagScript.endNamespacePrefixes(XMLOutput output)
End the new namespace prefixes mapped for the current element
|
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
|
protected void |
TagScript.startNamespacePrefixes(XMLOutput output)
Output the new namespace prefixes used for this element
|
Modifier and Type | Method and Description |
---|---|
protected XMLOutput |
FileTag.createXMLOutput(Writer writer)
A Factory method to create a new XMLOutput from the given Writer.
|
Modifier and Type | Method and Description |
---|---|
void |
BreakTag.doTag(XMLOutput output) |
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 |
RemoveTag.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) |
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
|
void |
ThreadTag.setXmlOutput(XMLOutput xmlOutput)
Sets the destination of output
|
Modifier and Type | Method and Description |
---|---|
protected XMLOutput |
BaseJellyTest.getXMLOutput() |
Copyright © 2014 Apache Software Foundation. All rights reserved.