org.apache.pluto.testsuite.validator
Class PreferencesValidatorImpl
java.lang.Object
org.apache.pluto.testsuite.validator.PreferencesValidatorImpl
- All Implemented Interfaces:
- PreferencesValidator
- Direct Known Subclasses:
- PreferencesValidatorImpl2
public class PreferencesValidatorImpl
- extends Object
- implements PreferencesValidator
Implementation of the portlet preferences validator.
Method Summary |
void |
validate(PortletPreferences preferences)
If the preferences values are successfully validated the call to this method
must finish gracefully. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CHECK_VALIDATOR_COUNT
public static final String CHECK_VALIDATOR_COUNT
- See Also:
- Constant Field Values
PreferencesValidatorImpl
public PreferencesValidatorImpl()
- Default no-arg constructor.
validate
public void validate(PortletPreferences preferences)
throws ValidatorException
- Description copied from interface:
PreferencesValidator
- If the preferences values are successfully validated the call to this method
must finish gracefully. Otherwise it must throw a
ValidatorException
.
- Specified by:
validate
in interface PreferencesValidator
- Parameters:
preferences
- preferences to validate
- Throws:
ValidatorException
- if the given preferences contains invalid
settings
Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.