Class CmsValueCompareBean


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

    • Method Detail

      • formatContentValueForDiffTable

        public static java.lang.String formatContentValueForDiffTable​(CmsObject cms,
                                                                      CmsElementComparison comparison,
                                                                      java.lang.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 java.lang.String getLocale()
        Gets the locale.

        Returns:
        the locale
      • getV1

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

        Returns:
        the value for the first version
      • getV2

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

        Returns:
        the value for the second version
      • getXPath

        public java.lang.String getXPath()
        Gets the element name.

        Returns:
        the element name