Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.clra.web
Class ValidateMemberMailingAddress  view ValidateMemberMailingAddress download ValidateMemberMailingAddress.java

java.lang.Object
  extended bycom.clra.web.ValidateMember
      extended bycom.clra.web.ValidateMemberMailingAddress

class ValidateMemberMailingAddress
extends ValidateMember

Checks whether a mailing address seems valid.

Version:
$Id: ValidateMemberMailingAddress.java,v 1.4 2003/02/26 03:38:46 rphall Exp $

Field Summary
protected  MemberInfoForm form
          The form that is being validated
static java.lang.String PROPERTY_MAILINGADDR
           
 
Constructor Summary
(package private) ValidateMemberMailingAddress(MemberInfoForm f)
           
 
Method Summary
(package private)  void validate(org.apache.struts.action.ActionErrors errors)
          Checks whether a mailing address seems valid.
protected  void validateRequiredValue(java.lang.String PROPERTY, java.lang.String messageKey, java.lang.String value, org.apache.struts.action.ActionErrors errors)
           
private  void validateZipCodeDetails(java.lang.String value, org.apache.struts.action.ActionErrors errors)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_MAILINGADDR

public static final java.lang.String PROPERTY_MAILINGADDR
See Also:
Constant Field Values

form

protected final MemberInfoForm form
The form that is being validated

Constructor Detail

ValidateMemberMailingAddress

ValidateMemberMailingAddress(MemberInfoForm f)
Method Detail

validate

void validate(org.apache.struts.action.ActionErrors errors)
Checks whether a mailing address seems valid.

Specified by:
validate in class ValidateMember

validateZipCodeDetails

private void validateZipCodeDetails(java.lang.String value,
                                    org.apache.struts.action.ActionErrors errors)

validateRequiredValue

protected final void validateRequiredValue(java.lang.String PROPERTY,
                                           java.lang.String messageKey,
                                           java.lang.String value,
                                           org.apache.struts.action.ActionErrors errors)