Interface IBeanFilter

All Known Implementing Classes:
DataSourceBeanFilter, KeepPropertiesBeanFilter

public interface IBeanFilter
This interface is provided as a mechanism to create a custom bean filter for the JSONFilter that is applied to beans by JSTranslater.toJS().
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    This method is called to filter a bean.
  • Method Details

    • filter

      Map filter(Object obj) throws Exception
      This method is called to filter a bean.
      Parameters:
      obj - the bean to convert
      Returns:
      the converted bean as a Map
      Throws:
      Exception