Oracle

weblogicx.jsp.tags.validators
Class RequiredFieldValidator

java.lang.Object
  extended by weblogicx.jsp.tags.validators.CustomizableAdapter
      extended by weblogicx.jsp.tags.validators.RequiredFieldValidator
All Implemented Interfaces:
Serializable, Customizable

public class RequiredFieldValidator
extends CustomizableAdapter

See Also:
Serialized Form

Field Summary
 
Fields inherited from class weblogicx.jsp.tags.validators.CustomizableAdapter
errorMessage, expression, fieldToValidate
 
Constructor Summary
RequiredFieldValidator()
           
 
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.
 
Methods inherited from class weblogicx.jsp.tags.validators.CustomizableAdapter
attributeDequote, getErrorMessage, getExpression, getFieldToValidate, setErrorMessage, setExpression, setFieldToValidate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequiredFieldValidator

public RequiredFieldValidator()
Method Detail

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

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs103
Copyright 1996,2008, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.