jp.ne.cappuccino.keisuken.servlet.flavor.gui

trait Validator

[source: jp/ne/cappuccino/keisuken/servlet/flavor/gui/Validator.scala]

trait Validator[T]
extends AnyRef
Validator.
Author
NISHIMOTO Keisuke.
Version
0.2.8, 2008/09/19, 2008/10/14.
Direct Known Subclasses:
NoCheck, NoCheckBoolean, TextValidator, RegexValidator, DateValidator, BooleanValidator, IntValidator, LongValidator, FloatValidator, DoubleValidator

Method Summary
abstract def toObject (text : java.lang.String) : scala.Option[T]
abstract def toText (value : T) : java.lang.String
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
@scala.throws(classOf[jp.ne.cappuccino.keisuken.servlet.flavor.gui.ValidationException])

abstract def toObject(text : java.lang.String) : scala.Option[T]

abstract def toText(value : T) : java.lang.String