Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

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

Fields inherited from interface oracle.cabo.ui.validate.ServerValidater
NO_CONTENT_ERROR_OFFSET, UNKNOWN_ERROR_OFFSET
 
Method Summary
 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.
 java.lang.String getValidationFormat(RenderingContext context, UINode node)
           
 void writeDependencies(RenderingContext context, UINode node)
          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.
 
Methods inherited from interface oracle.cabo.ui.validate.ServerValidater
validate
 

Method Detail

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)

Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

Copyright © 2002,2003, Oracle. All Rights Reserved.