@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)
PropertyFieldValidator
validate
in interface PropertyFieldValidator
public String getValidatorErrorMessage()
PropertyFieldValidator
getValidatorErrorMessage
in interface PropertyFieldValidator
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.