public interface MergeHandler
| Modifier and Type | Method and Description |
|---|---|
MergeHandler[] |
getChildren()
Retrieve any child merge handlers associated with this handler.
|
String |
getName()
Retrieve the name associated with this merge handlers.
|
int |
getPriority()
Retrieve the priority for the handler.
|
String |
getXPath()
Retrieve the XPath query associated with this handler.
|
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.
|
void |
setChildren(MergeHandler[] children)
Set the child merge handlers
|
void |
setName(String name)
Set the period-delimited numeric string that names this handler
|
void |
setPriority(int priority)
Set the priority for this handler
|
void |
setXPath(String xpath)
Set the xpath query
|
Node[] merge(List<Node> nodeList1, List<Node> nodeList2, List<Node> exhaustedNodes)
nodeList1 - list of nodes to be merged from the source documentnodeList2 - list of nodes to be merged form the patch documentexhaustedNodes - already merged nodesint getPriority()
void setPriority(int priority)
priority - String getXPath()
void setXPath(String xpath)
xpath - MergeHandler[] getChildren()
void setChildren(MergeHandler[] children)
children - String getName()
void setName(String name)
name - Copyright © 2014. All Rights Reserved.