public class MergeVisitor extends DefaultVisitor
Constructor and Description |
---|
MergeVisitor() |
Modifier and Type | Method and Description |
---|---|
void |
merge(XDMModel model,
Document newDoc)
This method merges the currentModel and the given newDocument.
|
protected void |
visitNode(Node node) |
visit, visit, visit, visit
public void merge(XDMModel model, Document newDoc)
model
- the model to merge the changes required to transform
the current document to something equivalent to newDocument.newDoc
- to replicate in the current model.protected void visitNode(Node node)
visitNode
in class DefaultVisitor