|
BEA Systems, Inc. | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectweblogicx.jsp.tags.validators.ValidatableAdapter
| Field Summary | |
protected String |
errorMessage
|
protected String |
fieldToValidate
|
protected boolean |
isValid
|
| Fields inherited from interface weblogicx.jsp.tags.validators.Validatable |
ENCODED_SEPERATOR, SEPERATOR |
| Constructor Summary | |
ValidatableAdapter()
|
|
| Method Summary | |
Validatable |
decodeHiddenField(String stToDecode)
|
Hashtable |
defaultDecodeHiddenField(String value)
|
String |
defaultWriteHiddenField(Hashtable ht)
|
String |
getErrorMessage()
|
String |
getFieldToValidate()
|
boolean |
isValid()
returns whether the validation was successful |
void |
setErrorMessage(String error)
|
void |
setFieldToValidate(String f)
|
void |
setIsValid(boolean bo)
set whether the particular validator was successful or not |
abstract boolean |
validate(ServletRequest request)
abstract class to be implemented |
String |
writeHiddenField()
write a hidden input type e.g. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected String errorMessage
protected String fieldToValidate
protected boolean isValid
| Constructor Detail |
public ValidatableAdapter()
| Method Detail |
public Validatable decodeHiddenField(String stToDecode)
throws Exception
Validatable
decodeHiddenField in interface ValidatableExceptionpublic Hashtable defaultDecodeHiddenField(String value)
public String defaultWriteHiddenField(Hashtable ht)
ht - containing all the names and values other than
errorMessage and fieldToValidate.public String getErrorMessage()
getErrorMessage in interface Validatablepublic String getFieldToValidate()
getFieldToValidate in interface Validatablepublic boolean isValid()
Validatable
isValid in interface Validatablepublic void setErrorMessage(String error)
public void setFieldToValidate(String f)
public void setIsValid(boolean bo)
Validatable
setIsValid in interface Validatable
public abstract boolean validate(ServletRequest request)
throws Exception
validate in interface ValidatableExceptionpublic String writeHiddenField()
Validatable
writeHiddenField in interface Validatable
|
Documentation is available at http://e-docs.bea.com/wls/docs90 Copyright 2005 BEA Systems Inc. |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||