Files
EWF/examples/widgetapp/own_validator.e
Severin Münger 8fc405fef1 Changed structure
2013-09-12 11:38:31 +02:00

32 lines
345 B
Plaintext

note
description: "Summary description for {OWN_VALIDATOR}."
author: ""
date: "$Date$"
revision: "$Revision$"
class
OWN_VALIDATOR
inherit
WSF_VALIDATOR [STRING]
create
make_own
feature {NONE}
make_own
do
error := "Input too long"
end
feature
is_valid (input: STRING): BOOLEAN
do
Result := input.count < 5
end
end