Package de.esoco.data.validate
Klasse StringListValidator
- Alle implementierten Schnittstellen:
HasValueList<String>
,Validator<String>
,Serializable
A
ListValidator
implementation that checks whether a value is an
element of a list of strings.- Siehe auch:
-
Konstruktorübersicht
KonstruktorBeschreibungStringListValidator
(List<String> strings, boolean resourceIds) Creates a new instance that validates against a certain list. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungfinal boolean
Returns TRUE if the string values of this instance should be interpreted as resource IDs.
-
Konstruktordetails
-
StringListValidator
Creates a new instance that validates against a certain list.- Parameter:
strings
- The list of strings to be validated against or an empty list to allow any valueresourceIds
- TRUE to interpret the string values as resource IDs
-
-
Methodendetails
-
isResourceIds
public final boolean isResourceIds()Returns TRUE if the string values of this instance should be interpreted as resource IDs.- Gibt zurück:
- TRUE to interpret the string values as resource IDs
-