KIE Uberfire Properties Editor Widget API 6.2.0.Beta2

org.kie.uberfire.properties.editor.model.validators
Class TextValidator

java.lang.Object
  extended by org.kie.uberfire.properties.editor.model.validators.TextValidator
All Implemented Interfaces:
PropertyFieldValidator

@Portable
public class TextValidator
extends Object
implements PropertyFieldValidator


Constructor Summary
TextValidator()
           
 
Method Summary
 String getValidatorErrorMessage()
          Error message used in property editor.
 boolean validate(Object value)
          Validate a field new value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextValidator

public TextValidator()
Method Detail

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:

KIE Uberfire Properties Editor Widget API 6.2.0.Beta2

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.