|
|||||||||||
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.ParamCheck
A tag to check parameters are being passed correctly
Field Summary |
Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
Constructor Summary | |
ParamCheck()
|
Method Summary | |
void |
doTag(XMLOutput output)
|
java.lang.String |
getMessage()
|
void |
setFail(boolean failOrNot)
|
void |
setMessage(java.lang.String string)
|
void |
setValue(java.lang.String string)
|
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 ParamCheck()
Method Detail |
public void doTag(XMLOutput output) throws JellyTagException
JellyTagException
public void setFail(boolean failOrNot)
failOrNot
- whether this tag should throw an exception if the value is emptypublic java.lang.String getMessage() throws JellyTagException
JellyTagException
public void setMessage(java.lang.String string)
string
- the message to display when the value is emptypublic void setValue(java.lang.String string)
string
- the value to check
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |