public class NodeReplaceInsert extends BaseHandler
children, name, priority, xpath| Constructor and Description |
|---|
NodeReplaceInsert() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkNode(List<Node> usedNodes,
Node[] primaryNodes,
Node node) |
protected boolean |
exactNodeExists(Node[] primaryNodes,
Node testNode,
List<Node> usedNodes) |
Node[] |
merge(List<Node> nodeList1,
List<Node> nodeList2,
List<Node> exhaustedNodes)
Perform the merge using the supplied list of nodes from the source and
patch documents, respectively.
|
protected boolean |
replaceNode(Node[] primaryNodes,
Node testNode,
String attribute,
List<Node> usedNodes) |
compareTo, getChildren, getName, getPriority, getXPath, setChildren, setName, setPriority, setXPathpublic Node[] merge(List<Node> nodeList1, List<Node> nodeList2, List<Node> exhaustedNodes)
MergeHandlernodeList1 - list of nodes to be merged from the source documentnodeList2 - list of nodes to be merged form the patch documentexhaustedNodes - already merged nodesprotected boolean exactNodeExists(Node[] primaryNodes, Node testNode, List<Node> usedNodes)
Copyright © 2015. All Rights Reserved.