|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | 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 java.lang.String |
errorMessage
|
protected java.lang.String |
expression
|
protected java.lang.String |
fieldToValidate
|
Constructor Summary | |
CustomizableAdapter()
|
Method Summary | |
static java.lang.String |
attributeDequote(java.lang.String attr)
|
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getErrorMessage()
|
java.lang.String |
getExpression()
|
java.lang.String |
getFieldToValidate()
|
void |
setErrorMessage(java.lang.String error)
|
void |
setExpression(java.lang.String exp)
customExpression which may be used by the implementor for use in the validate method |
void |
setFieldToValidate(java.lang.String control)
|
abstract boolean |
validate(javax.servlet.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 java.lang.String fieldToValidate
protected java.lang.String errorMessage
protected java.lang.String expression
Constructor Detail |
public CustomizableAdapter()
Method Detail |
public void setFieldToValidate(java.lang.String control)
public void setErrorMessage(java.lang.String error)
public void setExpression(java.lang.String exp)
public java.lang.String getExpression()
public java.lang.String getFieldToValidate()
public java.lang.String getErrorMessage()
public abstract boolean validate(javax.servlet.ServletRequest request) throws java.lang.Exception
request
- : receivedpublic boolean equals(java.lang.Object o)
public static java.lang.String attributeDequote(java.lang.String attr)
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs81b |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |