MCPcopy Create free account
hub / github.com/amouat/diffxml / create

Method create

src/java/org/diffxml/diffxml/fmes/EditScript.java:96–147  ·  view source on GitHub ↗

Creates an Edit Script conforming to matchings that transforms doc1 into doc2. Uses algorithm in "Change Detection in Hierarchically Structured Information". @return the resultant Edit Script @throws DocumentCreationException When the output doc can't be made

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 12

testDifferentPrologMethod · 0.95
testSimpleInsertMethod · 0.95
testSimpleDeletionMethod · 0.95
testSimpleMoveMethod · 0.95
testInsertAfterTextMethod · 0.95
testMisalignedNodesMethod · 0.95
testOrderingMethod · 0.95
testNumberingBugMethod · 0.95
testDocumentTypeMethod · 0.95
testCBugMethod · 0.95
diffMethod · 0.80

Calls 14

addChildrenOfNodeMethod · 0.95
alignChildrenMethod · 0.95
isEmptyMethod · 0.95
popMethod · 0.95
doInsertMethod · 0.95
checkIfSameNodeMethod · 0.95
compareElementsMethod · 0.95
doUpdateMethod · 0.95
doMoveMethod · 0.95
deletePhaseMethod · 0.95
getPartnerMethod · 0.80
isMatchedMethod · 0.80

Tested by 11

testDifferentPrologMethod · 0.76
testSimpleInsertMethod · 0.76
testSimpleDeletionMethod · 0.76
testSimpleMoveMethod · 0.76
testInsertAfterTextMethod · 0.76
testMisalignedNodesMethod · 0.76
testOrderingMethod · 0.76
testNumberingBugMethod · 0.76
testDocumentTypeMethod · 0.76
testCBugMethod · 0.76