...
カスタムフォーマッターは、「com.hof.mi.interfaces.CustomFormatter」classの実装です。このclassには、以下の関数を実装しなくてはいけません。
- public abstract String getName();
- public abstract boolean acceptsNativeType(int type);
- public abstract String render(Object value, int renderType) throws Exception;
これらのメソッドは、必要に応じて上書きすることができます。
- public boolean returnsHtml();
- public boolean compareConditionalAgainstFormattedValue();
関数定義
public abstract String getName();
...