Class CmsValueCompareBean

java.lang.Object
org.opencms.ui.dialogs.history.diff.CmsValueCompareBean

public class CmsValueCompareBean extends Object
Represents a row of the XML content value comparison table.

  • Constructor Details

  • Method Details

    • formatContentValueForDiffTable

      public static String formatContentValueForDiffTable(CmsObject cms, CmsElementComparison comparison, String origValue)
      Formats an xml content value string for display in the value comparison table.

      Parameters:
      cms - the CMS context
      comparison - the element comparison
      origValue - the XML content value as a string
      Returns:
      the formatted string
    • getChangeType

      public com.vaadin.ui.Button getChangeType()
      Gets the change type, as a button.

      Returns:
      the change type
    • getLocale

      public String getLocale()
      Gets the locale.

      Returns:
      the locale
    • getV1

      public String getV1()
      Gets the value for the first version.

      Returns:
      the value for the first version
    • getV2

      public String getV2()
      Gets the value for the second version.

      Returns:
      the value for the second version
    • getXPath

      public String getXPath()
      Gets the element name.

      Returns:
      the element name