Interface DisplayFormatter

All Known Implementing Classes:
DefaultDisplayFormatter

public interface DisplayFormatter

Interface of library for formatting a record to a view helper in Struts 2. This must be executed in a Struts 2 Action context, whether in Action code or in an Interceptor.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    updateDisplay(Class<?> recordClass, Object record, Object display)
    Called by Struts Actions to format a view helper from a source record.
  • Method Details

    • updateDisplay

      void updateDisplay(Class<?> recordClass, Object record, Object display)
      Called by Struts Actions to format a view helper from a source record.