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

Method apply

src/java/org/diffxml/patchxml/DULPatch.java:851–910  ·  view source on GitHub ↗

Apply DUL patch to XML document. @param doc the XML document to be patched @param patch the DUL patch @throws PatchFormatException if there is an error parsing the patch

(final Document doc, final Document patch)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

runFMESTestMethod · 0.95
mainMethod · 0.95
testSimpleInsertMethod · 0.80
testInsertAfterTextMethod · 0.80
testInsertBeforeTextMethod · 0.80
testInsertIntoTextMethod · 0.80
testInsertIntoText2Method · 0.80
testInsertingAttrMethod · 0.80
testInsertingCommentMethod · 0.80
testInsertingCDATAMethod · 0.80
testSimpleDeleteMethod · 0.80
testDeleteAttributeMethod · 0.80

Calls 7

doUpdateMethod · 0.95
doInsertMethod · 0.95
doDeleteMethod · 0.95
doMoveMethod · 0.95
getNodeAsStringDeepMethod · 0.95
outputXMLMethod · 0.95
equalsMethod · 0.80

Tested by 15

runFMESTestMethod · 0.76
testSimpleInsertMethod · 0.64
testInsertAfterTextMethod · 0.64
testInsertBeforeTextMethod · 0.64
testInsertIntoTextMethod · 0.64
testInsertIntoText2Method · 0.64
testInsertingAttrMethod · 0.64
testInsertingCommentMethod · 0.64
testInsertingCDATAMethod · 0.64
testSimpleDeleteMethod · 0.64
testDeleteAttributeMethod · 0.64
testDeleteCommentMethod · 0.64