org.crosswire.jsword.book.sword
Interface ConfigValueInterceptor


public interface ConfigValueInterceptor

Intercepts values from the configuration before these are widely distributed to the rest of the application.

Author:
Chris Burrell
See Also:
The GNU Lesser General Public License for details.

Method Summary
 Object intercept(String bookName, ConfigEntryType configEntryType, Object value)
          Intercepts a value before distribution to the rest of the JSword library
 

Method Detail

intercept

Object intercept(String bookName,
                 ConfigEntryType configEntryType,
                 Object value)
Intercepts a value before distribution to the rest of the JSword library

Parameters:
bookName - the initials of the book that is being intercepted
configEntryType - the configuration entry type, describing which field is being accessed
value - the value to be intercepted
Returns:
the new value, if different

Copyright ยจ 2003-2015