ontopoly.validators
Class RegexValidator

java.lang.Object
  extended by org.apache.wicket.validation.validator.AbstractValidator<String>
      extended by ontopoly.validators.RegexValidator
All Implemented Interfaces:
Serializable, org.apache.wicket.IClusterable, org.apache.wicket.validation.INullAcceptingValidator<String>, org.apache.wicket.validation.IValidator<String>

public abstract class RegexValidator
extends org.apache.wicket.validation.validator.AbstractValidator<String>

See Also:
Serialized Form

Field Summary
protected  FieldInstanceModel fieldInstanceModel
           
 
Constructor Summary
RegexValidator(org.apache.wicket.Component component, FieldInstanceModel fieldInstanceModel)
           
 
Method Summary
protected abstract  String getRegex()
           
protected  void onValidate(org.apache.wicket.validation.IValidatable<String> validatable)
           
protected  String resourceKeyInvalidRegex()
           
protected  String resourceKeyInvalidValue()
           
 
Methods inherited from class org.apache.wicket.validation.validator.AbstractValidator
error, error, error, error, messageModel, resourceKey, resourceKey, validate, validate, validateOnNullValue, variablesMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fieldInstanceModel

protected FieldInstanceModel fieldInstanceModel
Constructor Detail

RegexValidator

public RegexValidator(org.apache.wicket.Component component,
                      FieldInstanceModel fieldInstanceModel)
Method Detail

onValidate

protected void onValidate(org.apache.wicket.validation.IValidatable<String> validatable)
Specified by:
onValidate in class org.apache.wicket.validation.validator.AbstractValidator<String>

getRegex

protected abstract String getRegex()

resourceKeyInvalidValue

protected String resourceKeyInvalidValue()

resourceKeyInvalidRegex

protected String resourceKeyInvalidRegex()


Copyright © 2000-2012 Ontopia.