|
Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.6) Part Number E13941-06 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object weblogicx.jsp.tags.validators.CustomizableAdapter weblogicx.jsp.tags.validators.CompareValidator
public class CompareValidator
Compares two strings from the two fields provided in the fieldToValidate attribute. They must be of the form field1,field2 where field1 is the field to be compared against field2
Field Summary |
---|
Fields inherited from class weblogicx.jsp.tags.validators.CustomizableAdapter |
---|
errorMessage, expression, fieldToValidate |
Constructor Summary | |
---|---|
CompareValidator()
|
Method Summary | |
---|---|
boolean |
equals(Object o)
|
boolean |
validate(ServletRequest request)
Its is assumed here that the compare validator compares 2 fields which are listed as comma seperated elements in the fieldToValidate. |
Methods inherited from class weblogicx.jsp.tags.validators.CustomizableAdapter |
---|
attributeDequote, getErrorMessage, getExpression, getFieldToValidate, setErrorMessage, setExpression, setFieldToValidate |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompareValidator()
Method Detail |
---|
public boolean validate(ServletRequest request) throws Exception
validate
in interface Customizable
validate
in class CustomizableAdapter
request
- : received
Exception
public boolean equals(Object o)
equals
in class CustomizableAdapter
|
Copyright 1996, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.6) Part Number E13941-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |