Files
EWF/examples/widgetapp/own_validator.e
2013-09-06 18:06:43 +02:00

32 lines
344 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 to long"
end
feature
is_valid (input: STRING): BOOLEAN
do
Result := input.count < 5
end
end