com.metamatrix.console.ui.views.deploy.util
Class TextValidator

java.lang.Object
  extended by com.metamatrix.console.ui.views.deploy.util.TextValidator
All Implemented Interfaces:
Validator

public final class TextValidator
extends java.lang.Object
implements Validator


Constructor Summary
TextValidator(int theMinLength, int theMaxLength, boolean theRequiredFlag)
           
 
Method Summary
 java.lang.Object validate(java.lang.Object theObject)
          Determines the content validity of the specified object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextValidator

public TextValidator(int theMinLength,
                     int theMaxLength,
                     boolean theRequiredFlag)
Method Detail

validate

public java.lang.Object validate(java.lang.Object theObject)
Description copied from interface: Validator
Determines the content validity of the specified object.

Specified by:
validate in interface Validator
Parameters:
theObject - The object whose contents should be validated
Returns:
An object indicating the results of the validity check


Copyright © 2009. All Rights Reserved.