org.broadleafcommerce.common.extensibility.context.merge.handlers
Class MetadataOverrideNodeReplaceInsert
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.MetadataOverrideNodeReplaceInsert
- All Implemented Interfaces:
- Comparable<Object>, MergeHandler
public class MetadataOverrideNodeReplaceInsert
- extends NodeReplaceInsert
This handler is responsible for replacing nodes in the source document
with the same nodes from the patch document. Note, additional nodes
from the patch document that are not present in the source document
are simply appended to the source document. This is specialized for the
mo:overrideItem element.
- Author:
- jfischer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetadataOverrideNodeReplaceInsert
public MetadataOverrideNodeReplaceInsert()
checkNode
protected boolean checkNode(List<Node> usedNodes,
Node[] primaryNodes,
Node node)
- Overrides:
checkNode in class NodeReplaceInsert
Copyright © 2012. All Rights Reserved.