org.apache.myfaces.custom.creditcardvalidator
public class CreditCardValidator extends Object implements Validator, StateHolder
Version: $Revision: 169649 $ $Date: 2005-05-11 17:47:12 +0200 (Wed, 11 May 2005) $
Field Summary | |
---|---|
static String | CREDITCARD_MESSAGE_ID The message identifier of the FacesMessage to be created if the creditcard check fails. |
static String | VALIDATOR_ID The standard converter id for this converter. |
Constructor Summary | |
---|---|
CreditCardValidator() |
Method Summary | |
---|---|
boolean | isAmex() |
boolean | isDiscover() |
boolean | isMastercard() |
boolean | isNone() |
boolean | isTransient() |
boolean | isVisa() |
void | restoreState(FacesContext context, Object state) |
Object | saveState(FacesContext context) |
void | setAmex(boolean b) |
void | setDiscover(boolean b) |
void | setMastercard(boolean b) |
void | setNone(boolean b) |
void | setTransient(boolean newTransientValue) |
void | setVisa(boolean b) |
void | validate(FacesContext facesContext, UIComponent uiComponent, Object value) |
The message identifier of the FacesMessage to be created if the creditcard check fails.
The standard converter id for this converter.