Class DefaultValidator
- java.lang.Object
-
- com.microstrategy.utils.validator.DefaultValidator
-
- All Implemented Interfaces:
ParameterValidator
- Direct Known Subclasses:
BooleanValidator
,FloatValidator
,GUIDValidator
,IntValidator
,SimpleStringValidator
,XMLValidator
public class DefaultValidator extends java.lang.Object implements ParameterValidator
This is a default implementation ofParameterValidator
, which simply returns true for each value.
-
-
Constructor Summary
Constructors Constructor Description DefaultValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
validate(java.lang.String value)
Validate the value.
-
-
-
Method Detail
-
validate
public boolean validate(java.lang.String value)
Description copied from interface:ParameterValidator
Validate the value.- Specified by:
validate
in interfaceParameterValidator
- Parameters:
value
- - value of the parameter- Returns:
- true if it is valid
-
-