public interface DocumentDiffService extends Serializable
Modifier and Type | Method and Description |
---|---|
void |
configureDiff(org.custommonkey.xmlunit.Diff diff)
Configures the diff.
|
void |
configureXMLUnit()
Configures XMLUnit.
|
DocumentDiff |
diff(CoreSession session,
DocumentModel leftDoc,
DocumentModel rightDoc)
Makes a diff between leftDoc and rightDoc.
|
DocumentDiff |
diff(String leftXML,
String rightXML)
Makes a diff between leftXML and rightXML.
|
DocumentDiff diff(CoreSession session, DocumentModel leftDoc, DocumentModel rightDoc) throws ClientException
session
- the sessionleftDoc
- the left docrightDoc
- the right docClientException
- the client exceptionDocumentDiff diff(String leftXML, String rightXML) throws ClientException
leftXML
- the left XMLrightXML
- the right XMLClientException
- the client exceptionvoid configureXMLUnit()
void configureDiff(org.custommonkey.xmlunit.Diff diff)
diff
- the diffCopyright © 2013 Nuxeo SA. All Rights Reserved.