public class CmsXmlDocumentComparison extends CmsResourceComparison
TYPE_ADDED, TYPE_CHANGED, TYPE_REMOVED, TYPE_UNCHANGED| Constructor and Description |
|---|
CmsXmlDocumentComparison(CmsObject cms,
CmsFile res1,
CmsFile res2)
Creates a new xml document comparison.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<CmsElementComparison> |
getElements()
Returns the elements.
|
compareAttributes, comparePropertiespublic CmsXmlDocumentComparison(CmsObject cms, CmsFile res1, CmsFile res2) throws CmsException
cms - the CmsObject to useres1 - the first file to compareres2 - the second file to compareCmsException - if something goes wrongpublic java.util.List<CmsElementComparison> getElements()