ontopoly.validators
Class DateFormatValidator
java.lang.Object
org.apache.wicket.validation.validator.AbstractValidator<java.lang.String>
ontopoly.validators.DateFormatValidator
- All Implemented Interfaces:
- java.io.Serializable, org.apache.wicket.IClusterable, org.apache.wicket.validation.INullAcceptingValidator<java.lang.String>, org.apache.wicket.validation.IValidator<java.lang.String>
public abstract class DateFormatValidator
- extends org.apache.wicket.validation.validator.AbstractValidator<java.lang.String>
- See Also:
- Serialized Form
Method Summary |
abstract java.text.DateFormat |
createDateFormat()
|
protected void |
onValidate(org.apache.wicket.validation.IValidatable<java.lang.String> validatable)
|
protected java.lang.String |
resourceKey()
|
Methods inherited from class org.apache.wicket.validation.validator.AbstractValidator |
error, error, error, error, messageModel, resourceKey, validate, validate, validateOnNullValue, variablesMap |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateFormatValidator
public DateFormatValidator(org.apache.wicket.Component component,
FieldInstanceModel fieldInstanceModel)
onValidate
protected void onValidate(org.apache.wicket.validation.IValidatable<java.lang.String> validatable)
- Specified by:
onValidate
in class org.apache.wicket.validation.validator.AbstractValidator<java.lang.String>
createDateFormat
public abstract java.text.DateFormat createDateFormat()
resourceKey
protected java.lang.String resourceKey()
- Overrides:
resourceKey
in class org.apache.wicket.validation.validator.AbstractValidator<java.lang.String>
Copyright © 2000-2012 Ontopia.