|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.jelly.TagLibrary org.apache.commons.jelly.tags.ant.AntTagLibrary
A Jelly custom tag library that allows Ant tasks to be called from inside Jelly.
Field Summary | |
static java.lang.String |
PROJECT_CONTEXT_HANDLE
|
Constructor Summary | |
AntTagLibrary()
|
Method Summary | |
org.apache.commons.jelly.impl.TagScript |
createCustomTagScript(java.lang.String name,
org.xml.sax.Attributes attributes)
|
static org.apache.tools.ant.Project |
createProject(org.apache.commons.jelly.JellyContext context)
A helper method to create a new project #### this method could move to an AntUtils class. |
org.apache.commons.jelly.Tag |
createTag(java.lang.String name,
org.xml.sax.Attributes attributes)
A helper method which creates an AntTag instance for the given element name |
org.apache.commons.jelly.impl.TagScript |
createTagScript(java.lang.String name,
org.xml.sax.Attributes attributes)
Creates a new script to execute the given tag name and attributes |
static org.apache.tools.ant.Project |
getProject(org.apache.commons.jelly.JellyContext context)
A helper method which will attempt to find a project in the current context or install one if need be. #### this method could move to an AntUtils class. |
static void |
setProject(org.apache.commons.jelly.JellyContext context,
org.apache.tools.ant.Project project)
Sets the Ant Project to be used for this JellyContext. #### this method could move to an AntUtils class. |
Methods inherited from class org.apache.commons.jelly.TagLibrary |
createExpression, getExpressionFactory, getTagClasses, registerTag, registerTagFactory |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String PROJECT_CONTEXT_HANDLE
Constructor Detail |
public AntTagLibrary()
Method Detail |
public static org.apache.tools.ant.Project getProject(org.apache.commons.jelly.JellyContext context)
public static void setProject(org.apache.commons.jelly.JellyContext context, org.apache.tools.ant.Project project)
public static org.apache.tools.ant.Project createProject(org.apache.commons.jelly.JellyContext context)
public org.apache.commons.jelly.impl.TagScript createTagScript(java.lang.String name, org.xml.sax.Attributes attributes) throws org.apache.commons.jelly.JellyException
org.apache.commons.jelly.JellyException
public org.apache.commons.jelly.impl.TagScript createCustomTagScript(java.lang.String name, org.xml.sax.Attributes attributes)
public org.apache.commons.jelly.Tag createTag(java.lang.String name, org.xml.sax.Attributes attributes) throws org.apache.commons.jelly.JellyException
org.apache.commons.jelly.JellyException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |