Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

カスタムフォーマッターは、「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();

...