@Portable public class TextValidator extends Object implements PropertyFieldValidator
| Constructor and Description |
|---|
TextValidator() |
| Modifier and Type | Method and Description |
|---|---|
String |
getValidatorErrorMessage()
Error message used in property editor.
|
boolean |
validate(Object value)
Validate a field new value
|
public boolean validate(Object value)
PropertyFieldValidatorvalidate in interface PropertyFieldValidatorpublic String getValidatorErrorMessage()
PropertyFieldValidatorgetValidatorErrorMessage in interface PropertyFieldValidatorCopyright © 2012–2018 JBoss by Red Hat. All rights reserved.