oracle.cabo.ui.validate
Class NonEmptyValidater
java.lang.Object
|
+--oracle.cabo.ui.validate.BaseClientValidater
|
+--oracle.cabo.ui.validate.NonEmptyValidater
- All Implemented Interfaces:
- ClientValidater, ServerValidater
- public class NonEmptyValidater
- extends BaseClientValidater
Validater that validates that the value exists and is non-empty.
While this class can be used by clients, nearly all developers
will find it much, much more convenient to use the "required"
attribute on the relevant UINode types instead of this class.
- See Also:
TextInputBean.setRequired(java.lang.String)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NonEmptyValidater
public NonEmptyValidater()
getNonEmptyValidater
public static NonEmptyValidater getNonEmptyValidater()
validate
public java.text.ParseException[] validate(RenderingContext context,
java.lang.String value)
getValidationFormat
public java.lang.String getValidationFormat(RenderingContext context,
UINode node)
- Overrides:
getValidationFormat
in class BaseClientValidater
getHTMLValidation
protected java.lang.String getHTMLValidation(RenderingContext context)
- Overrides:
getHTMLValidation
in class BaseClientValidater
getHTMLLibReference
protected java.lang.String getHTMLLibReference()
- Description copied from class:
BaseClientValidater
- Returns the name of the Javascript code that this validator requires.
- Overrides:
getHTMLLibReference
in class BaseClientValidater
Copyright © 2002,2003, Oracle. All Rights Reserved.