Class BeanDiffPrinter

java.lang.Object
sk.iway.iwcm.helpers.BeanDiffPrinter

public class BeanDiffPrinter extends Object
BeanDiffPrinter.java
  • Constructor Details

    • BeanDiffPrinter

      public BeanDiffPrinter(BeanDiff diff)
  • Method Details

    • toHtml

      public String toHtml()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toHtmlTable

      public String toHtmlTable()
    • toHtmlTable

      public String toHtmlTable(Prop prop)
      Generates the diff as an HTML table. If the diff has an original object, the table has 3 columns (property name, before value, after value). If it is a new record (no original), the table has 2 columns (property name, value). Reuses toString(Prop) for all translation logic.
    • toString

      public String toString(Prop prop)