|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cocoon.util.EnumerationFactory org.apache.cocoon.acting.ValidatorActionResult
public class ValidatorActionResult
A number of constants to represent the possible outcomes of a validation.
Field Summary | |
---|---|
static ValidatorActionResult |
ERROR
some error occurred, this is a result that is never set but serves as a comparison target. |
static ValidatorActionResult |
ISNULL
the parameter is null but isn't allowed to. |
static ValidatorActionResult |
MAXERROR
maximum error, only used for comparisons. |
static ValidatorActionResult |
NOMATCH
a string parameter's value is not matched by the specified regular expression. |
static ValidatorActionResult |
NOTPRESENT
this is returned when the result of a validation is requested but no such result is found in the request attribute. |
static ValidatorActionResult |
OK
no error occurred, parameter successfully checked. |
static ValidatorActionResult |
TOOLARGE
either value or length in case of a string is greater than the specified maximum. |
static ValidatorActionResult |
TOOSMALL
either value or length in case of a string is less than the specified minimum. |
Method Summary |
---|
Methods inherited from class org.apache.cocoon.util.EnumerationFactory |
---|
ge, getFirst, getLast, getNext, getObject, getPos, getPrev, getVal, gt, le, lt, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final ValidatorActionResult OK
public static final ValidatorActionResult NOTPRESENT
public static final ValidatorActionResult ERROR
public static final ValidatorActionResult ISNULL
public static final ValidatorActionResult TOOSMALL
public static final ValidatorActionResult TOOLARGE
public static final ValidatorActionResult NOMATCH
public static final ValidatorActionResult MAXERROR
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |