Class StringValidator
- java.lang.Object
-
- com.sun.identity.install.tools.configurator.ValidatorBase
-
- com.sun.identity.install.tools.configurator.StringValidator
-
- All Implemented Interfaces:
IValidation
public class StringValidator extends ValidatorBase
-
-
Field Summary
Fields Modifier and Type Field Description static StringLOC_VA_MSG_NUM_STRstatic StringLOC_VA_MSG_VAL_KEYstatic StringLOC_VA_MSG_VAL_STRstatic StringLOC_VA_WRN_IN_VAL_KEYstatic StringLOC_VA_WRN_IN_VAL_STRstatic StringLOC_VA_WRN_NON_NUM_STRstatic StringSTR_VAL_MIN_DIGITS-
Fields inherited from class com.sun.identity.install.tools.configurator.ValidatorBase
LOC_VA_ERR_VAL_FAILED_IN_SILENT, LOC_VA_ERR_VAL_METHOD_NOT_FOUND
-
-
Constructor Summary
Constructors Constructor Description StringValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinitializeValidatorMap()Initialize Validator MapValidationResultisKeyValid(String key, Map props, IStateAccess state)ValidationResultisPositiveInteger(String str, Map props, IStateAccess state)ValidationResultisStringValid(String str, Map props, IStateAccess state)-
Methods inherited from class com.sun.identity.install.tools.configurator.ValidatorBase
getValidatorMap, validate
-
-
-
-
Field Detail
-
LOC_VA_WRN_IN_VAL_STR
public static String LOC_VA_WRN_IN_VAL_STR
-
LOC_VA_MSG_VAL_STR
public static String LOC_VA_MSG_VAL_STR
-
LOC_VA_MSG_NUM_STR
public static String LOC_VA_MSG_NUM_STR
-
LOC_VA_WRN_NON_NUM_STR
public static String LOC_VA_WRN_NON_NUM_STR
-
LOC_VA_MSG_VAL_KEY
public static String LOC_VA_MSG_VAL_KEY
-
LOC_VA_WRN_IN_VAL_KEY
public static String LOC_VA_WRN_IN_VAL_KEY
-
STR_VAL_MIN_DIGITS
public static String STR_VAL_MIN_DIGITS
-
-
Constructor Detail
-
StringValidator
public StringValidator() throws InstallException- Throws:
InstallException
-
-
Method Detail
-
isPositiveInteger
public ValidationResult isPositiveInteger(String str, Map props, IStateAccess state)
-
isStringValid
public ValidationResult isStringValid(String str, Map props, IStateAccess state)
-
isKeyValid
public ValidationResult isKeyValid(String key, Map props, IStateAccess state)
-
initializeValidatorMap
public void initializeValidatorMap() throws InstallExceptionDescription copied from class:ValidatorBaseInitialize Validator Map- Specified by:
initializeValidatorMapin classValidatorBase- Throws:
InstallException
-
-