org.kie.uberfire.properties.editor.model.validators
Class TextValidator
java.lang.Object
org.kie.uberfire.properties.editor.model.validators.TextValidator
- All Implemented Interfaces:
- PropertyFieldValidator
@Portable
public class TextValidator
- extends Object
- implements PropertyFieldValidator
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextValidator
public TextValidator()
validate
public boolean validate(Object value)
- Description copied from interface:
PropertyFieldValidator
- Validate a field new value
- Specified by:
validate in interface PropertyFieldValidator
- Returns:
getValidatorErrorMessage
public String getValidatorErrorMessage()
- Description copied from interface:
PropertyFieldValidator
- Error message used in property editor.
- Specified by:
getValidatorErrorMessage in interface PropertyFieldValidator
- Returns:
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.