Class NameCharacterValidator
java.lang.Object
games.stendhal.server.core.account.NameCharacterValidator
- All Implemented Interfaces:
AccountParameterValidator
validates the character used for the character name.
- Author:
- hendrik
-
Constructor Summary
ConstructorDescriptionNameCharacterValidator(String parameterValue)
creates a NameCharacterValidator. -
Method Summary
-
Constructor Details
-
NameCharacterValidator
creates a NameCharacterValidator.- 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
-