org.apache.pluto.testsuite.validator
Class PreferencesValidatorImpl

java.lang.Object
  extended by org.apache.pluto.testsuite.validator.PreferencesValidatorImpl
All Implemented Interfaces:
PreferencesValidator
Direct Known Subclasses:
PreferencesValidatorImpl2

public class PreferencesValidatorImpl
extends java.lang.Object
implements PreferencesValidator

Implementation of the portlet preferences validator.


Field Summary
static java.lang.String CHECK_VALIDATOR_COUNT
           
 
Constructor Summary
PreferencesValidatorImpl()
          Default no-arg constructor.
 
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
 

Field Detail

CHECK_VALIDATOR_COUNT

public static final java.lang.String CHECK_VALIDATOR_COUNT
See Also:
Constant Field Values
Constructor Detail

PreferencesValidatorImpl

public PreferencesValidatorImpl()
Default no-arg constructor.

Method Detail

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.