|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.jelly.TagSupport org.apache.maven.jelly.tags.BaseTagSupport org.apache.maven.jelly.tags.maven.PropertyTag
A Maven Jelly tag that attempts to retrieve a property from the MavenJellyContext context and uses the provided default value in the event there is no valid value retrieved using the key name provided. You may also optionally provide the name you would like to give the resultant property in the MavenJellyContext.
Field Summary |
Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
Constructor Summary | |
PropertyTag()
|
Method Summary | |
void |
doTag(XMLOutput output)
|
void |
setDefaultValue(java.lang.String defaultValue)
|
void |
setName(java.lang.String name)
|
void |
setVar(java.lang.String var)
|
Methods inherited from class org.apache.maven.jelly.tags.BaseTagSupport |
checkAttribute, getMavenContext |
Methods inherited from class org.apache.commons.jelly.TagSupport |
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PropertyTag()
Method Detail |
public void setName(java.lang.String name)
public void setDefaultValue(java.lang.String defaultValue)
public void setVar(java.lang.String var)
public void doTag(XMLOutput output) throws MissingAttributeException, JellyTagException
MissingAttributeException
JellyTagException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |