weblogicx.jsp.tags.validators
Class RequiredFieldValidator
java.lang.Object
weblogicx.jsp.tags.validators.CustomizableAdapter
weblogicx.jsp.tags.validators.RequiredFieldValidator
- All Implemented Interfaces:
- Serializable, Customizable
public class RequiredFieldValidator
- extends CustomizableAdapter
- See Also:
- Serialized Form
Method Summary |
boolean |
equals(Object o)
|
boolean |
validate(ServletRequest req)
users may use this method to validate the value of the parameter
in the request
for eg: the parameter value must contain NYC or it must not contain XYZ
or they may even validate it against the custom expression
set optionally. |
RequiredFieldValidator
public RequiredFieldValidator()
validate
public boolean validate(ServletRequest req)
throws Exception
- Description copied from class:
CustomizableAdapter
- users may use this method to validate the value of the parameter
in the request
for eg: the parameter value must contain NYC or it must not contain XYZ
or they may even validate it against the custom expression
set optionally.
- Specified by:
validate
in interface Customizable
- Specified by:
validate
in class CustomizableAdapter
- Parameters:
req
- : received
- Returns:
- boolean indicating operation status
- Throws:
Exception
equals
public boolean equals(Object o)
- Overrides:
equals
in class CustomizableAdapter