Class HtmlDiffModel.ValidHtmlModel

java.lang.Object
org.hippoecm.frontend.plugins.standards.diff.HtmlDiffModel.ValidHtmlModel
All Implemented Interfaces:
Serializable, org.apache.wicket.model.IDetachable, org.apache.wicket.model.IModel<String>, org.apache.wicket.util.io.IClusterable
Enclosing class:
HtmlDiffModel

public static class HtmlDiffModel.ValidHtmlModel extends Object implements org.apache.wicket.model.IModel<String>
This model ensures the value is surrounded with ..value.. This is required by the DiffHelper.diffHtml method.
See Also:
  • Method Details

    • getObject

      public String getObject()
      Specified by:
      getObject in interface org.apache.wicket.model.IModel<String>
    • detach

      public void detach()
      Specified by:
      detach in interface org.apache.wicket.model.IDetachable
      Specified by:
      detach in interface org.apache.wicket.model.IModel<String>