|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tapestry.form.validator.BaseValidator net.sf.tacos.form.validator.RealNumberValidator
public class RealNumberValidator
A validator that ensures the input values are real numbers.
Constructor Summary | |
---|---|
RealNumberValidator()
No args constructor. |
|
RealNumberValidator(String initializer)
Initialized constructor, class takes no parameters so anything passed in will be ignored. |
Method Summary | |
---|---|
protected String |
buildMessage(org.apache.tapestry.form.ValidationMessages messages,
org.apache.tapestry.form.IFormComponent field)
Builds a validation message corresponding to this classes error display of invalid numbers. |
void |
renderContribution(org.apache.tapestry.IMarkupWriter writer,
org.apache.tapestry.IRequestCycle cycle,
org.apache.tapestry.form.FormComponentContributorContext context,
org.apache.tapestry.form.IFormComponent field)
|
void |
validate(org.apache.tapestry.form.IFormComponent field,
org.apache.tapestry.form.ValidationMessages messages,
Object object)
|
Methods inherited from class org.apache.tapestry.form.validator.BaseValidator |
---|
getAcceptsNull, getMessage, isRequired, setMessage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RealNumberValidator()
public RealNumberValidator(String initializer)
initializer
- Method Detail |
---|
public void validate(org.apache.tapestry.form.IFormComponent field, org.apache.tapestry.form.ValidationMessages messages, Object object) throws org.apache.tapestry.valid.ValidatorException
org.apache.tapestry.valid.ValidatorException
protected String buildMessage(org.apache.tapestry.form.ValidationMessages messages, org.apache.tapestry.form.IFormComponent field)
messages
- field
-
public void renderContribution(org.apache.tapestry.IMarkupWriter writer, org.apache.tapestry.IRequestCycle cycle, org.apache.tapestry.form.FormComponentContributorContext context, org.apache.tapestry.form.IFormComponent field)
renderContribution
in interface org.apache.tapestry.form.FormComponentContributor
renderContribution
in class org.apache.tapestry.form.validator.BaseValidator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |