Class NodeReplace
java.lang.Object
org.broadleafcommerce.common.extensibility.context.merge.handlers.BaseHandler
org.broadleafcommerce.common.extensibility.context.merge.handlers.NodeReplaceInsert
org.broadleafcommerce.common.extensibility.context.merge.handlers.NodeReplace
- All Implemented Interfaces:
Comparable<Object>,MergeHandler
This handler is responsible for replacing nodes in the source document
with the same nodes from the patch document. This handler will replace
all nodes with the same name entirely, regardless of differences in
attributes.
- Author:
- jfischer
-
Field Summary
Fields inherited from class org.broadleafcommerce.common.extensibility.context.merge.handlers.BaseHandler
children, name, priority, xpath -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.broadleafcommerce.common.extensibility.context.merge.handlers.NodeReplaceInsert
exactNodeExists, exhaustedNodesContains, merge, replaceCeilingEntityNode, replaceNodeMethods inherited from class org.broadleafcommerce.common.extensibility.context.merge.handlers.BaseHandler
compareTo, getChildren, getName, getPriority, getXPath, setChildren, setName, setPriority, setXPath
-
Constructor Details
-
NodeReplace
public NodeReplace()
-
-
Method Details
-
checkNode
- Overrides:
checkNodein classNodeReplaceInsert
-
replaceNode
-