Class CreatureNameValidator
java.lang.Object
games.stendhal.server.core.account.CreatureNameValidator
- All Implemented Interfaces:
AccountParameterValidator
validates name is not a Creature name
- Author:
- kymara
-
Constructor Summary
ConstructorDescriptionCreatureNameValidator(String parameterValue)
creates a CreatureNameValidator. -
Method Summary
-
Constructor Details
-
CreatureNameValidator
creates a CreatureNameValidator.- Parameters:
parameterValue
- value to validate
-
-
Method Details
-
validate
Description copied from interface:AccountParameterValidator
validates a parameter provided for account creation.- Specified by:
validate
in interfaceAccountParameterValidator
- Returns:
null
in case the parameter is valid, or an error otherwise
-