oracle.cabo.ui.validate
Interface ClientValidater
- All Superinterfaces:
- ServerValidater
- All Known Implementing Classes:
- BaseClientValidater
- public interface ClientValidater
- extends ServerValidater
Interface implemented by Objects that wish to perform client-side
validation in addition to server-side validation. If client side validation
should always be the same or or more lenient than the server-side
validation.
- See Also:
ServerValidater
writeDependencies
public void writeDependencies(RenderingContext context,
UINode node)
throws java.io.IOException
- Called by the UIX Component rendering engine before
getClientValidation
in order to give the ClientValidater the opportunity to generate
its client-side dependencies before getClientValidation
and in a more suitable output scope.
getValidation
public java.lang.Object getValidation(RenderingContext context,
UINode node)
- Called by the UIX Component rendering engine to retrieve the appropriate client
validation code for the node and context. If no validater can be
written for this context, this method should return null.
getValidationFormat
public java.lang.String getValidationFormat(RenderingContext context,
UINode node)