public class CmsValueCompareBean extends java.lang.Object
| Constructor and Description |
|---|
CmsValueCompareBean(CmsObject cms,
CmsElementComparison elemComp)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
com.vaadin.ui.Button |
getChangeType()
Gets the change type, as a button.
|
java.lang.String |
getLocale()
Gets the locale.
|
java.lang.String |
getV1()
Gets the value for the first version.
|
java.lang.String |
getV2()
Gets the value for the second version.
|
java.lang.String |
getXPath()
Gets the element name.
|
public CmsValueCompareBean(CmsObject cms, CmsElementComparison elemComp)
cms - the CMS contextelemComp - the element comparison beanpublic static java.lang.String formatContentValueForDiffTable(CmsObject cms, CmsElementComparison comparison, java.lang.String origValue)
cms - the CMS contextcomparison - the element comparisonorigValue - the XML content value as a stringpublic com.vaadin.ui.Button getChangeType()
public java.lang.String getLocale()
public java.lang.String getV1()
public java.lang.String getV2()
public java.lang.String getXPath()