|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.enterprise.communications.util.prefs.BooleanSetupValidityChecker
public class BooleanSetupValidityChecker
A validity checker that validates that the new value is a valid boolean (true or false).
| Constructor Summary | |
|---|---|
BooleanSetupValidityChecker()
|
|
| Method Summary | |
|---|---|
boolean |
checkValidity(java.lang.String pref_name,
java.lang.String value_to_check,
java.util.prefs.Preferences preferences,
java.io.PrintWriter out)
Makes sure the new value is either "true" or "false". |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BooleanSetupValidityChecker()
| Method Detail |
|---|
public boolean checkValidity(java.lang.String pref_name,
java.lang.String value_to_check,
java.util.prefs.Preferences preferences,
java.io.PrintWriter out)
checkValidity in interface SetupValidityCheckerpref_name - the name of the preference being checkedvalue_to_check - the value to checkpreferences - the full set of preferencesout - an output stream this instruction can use to print out any error messages that it deems
appropriate
true if value_to_check is valid; false otherwiseSetupValidityChecker.checkValidity(String, String, Preferences, PrintWriter)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||