|
BEA Systems, Inc. | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object weblogicx.jsp.tags.validators.CustomizableAdapter
class provides the default base implementation of the Customizable interface, users can extend this class and override beaviour
Field Summary | |
protected String |
errorMessage
|
protected String |
expression
|
protected String |
fieldToValidate
|
Constructor Summary | |
CustomizableAdapter()
|
Method Summary | |
static String |
attributeDequote(String attr)
|
boolean |
equals(Object o)
|
String |
getErrorMessage()
|
String |
getExpression()
|
String |
getFieldToValidate()
|
void |
setErrorMessage(String error)
error message being shown to the user. |
void |
setExpression(String exp)
customExpression which may be used by the implementor for use in the validate method |
void |
setFieldToValidate(String control)
field being validated |
abstract boolean |
validate(ServletRequest request)
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 java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected String errorMessage
protected String expression
protected String fieldToValidate
Constructor Detail |
public CustomizableAdapter()
Method Detail |
public static String attributeDequote(String attr)
public boolean equals(Object o)
public String getErrorMessage()
public String getExpression()
public String getFieldToValidate()
public void setErrorMessage(String error)
Customizable
setErrorMessage
in interface Customizable
public void setExpression(String exp)
setExpression
in interface Customizable
public void setFieldToValidate(String control)
Customizable
setFieldToValidate
in interface Customizable
public abstract boolean validate(ServletRequest request) throws Exception
validate
in interface Customizable
request
- : received
Exception
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs90 Copyright 2005 BEA Systems Inc. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |