Class StringValueValidator
- java.lang.Object
-
- edu.caltech.nanodb.server.properties.StringValueValidator
-
- All Implemented Interfaces:
PropertyValidator
public class StringValueValidator extends java.lang.Object implements PropertyValidator
Validates a string property value; if the value cannot be cast to a string then an error will be reported.
-
-
Constructor Summary
Constructors Constructor Description StringValueValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
validate(java.lang.Object value)
-
-
-
Method Detail
-
validate
public java.lang.Object validate(java.lang.Object value)
- Specified by:
validate
in interfacePropertyValidator
-
-