com.isomorphic.js
Interface IBeanFilter
- 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:
JSONFilter,
JSTranslater.toJS(Object, Writer)
|
Method Summary |
java.util.Map |
filter(java.lang.Object obj)
This method is called to filter a bean. |
filter
public java.util.Map filter(java.lang.Object obj)
throws java.lang.Exception
- This method is called to filter a bean.
- Parameters:
obj - the bean to convert- Returns:
- the converted bean as a Map