Package org.opencms.workplace.comparison
Class CmsXmlDocumentComparison
java.lang.Object
org.opencms.workplace.comparison.CmsResourceComparison
org.opencms.workplace.comparison.CmsXmlDocumentComparison
A comparison of properties, attributes and elements of xml documents.
-
Field Summary
Fields inherited from class org.opencms.workplace.comparison.CmsResourceComparison
TYPE_ADDED, TYPE_CHANGED, TYPE_REMOVED, TYPE_UNCHANGED
-
Constructor Summary
ConstructorDescriptionCmsXmlDocumentComparison
(CmsObject cms, CmsFile res1, CmsFile res2) Creates a new xml document comparison. -
Method Summary
Methods inherited from class org.opencms.workplace.comparison.CmsResourceComparison
compareAttributes, compareProperties
-
Constructor Details
-
CmsXmlDocumentComparison
Creates a new xml document comparison.- Parameters:
cms
- the CmsObject to useres1
- the first file to compareres2
- the second file to compare- Throws:
CmsException
- if something goes wrong
-
-
Method Details
-
getElements
Returns the elements.- Returns:
- the elements
-