public class ParamCheck extends BaseTagSupport
Constructor and Description |
---|
ParamCheck() |
Modifier and Type | Method and Description |
---|---|
void |
doTag(org.apache.commons.jelly.XMLOutput output) |
java.lang.String |
getMessage() |
void |
setFail(boolean failOrNot) |
void |
setMessage(java.lang.String string) |
void |
setValue(java.lang.String string) |
checkAttribute, getMavenContext
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody
public void doTag(org.apache.commons.jelly.XMLOutput output) throws org.apache.commons.jelly.JellyTagException
org.apache.commons.jelly.JellyTagException
public void setFail(boolean failOrNot)
failOrNot
- whether this tag should throw an exception if the value is emptypublic java.lang.String getMessage() throws org.apache.commons.jelly.JellyTagException
org.apache.commons.jelly.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 checkCopyright © 2001-2013 Apache Software Foundation. All Rights Reserved.