org.codehaus.plexus.cdc.merge.support

Class MergeStrategies

public class MergeStrategies extends Object

Collection of available Merge Strategies.

TODO: Revisit and factor merge to use a MergeStrategy.

Version: $Id: MergeStrategies.java 3422 2006-06-23 22:49:52Z trygvis $

Author: Rahul Thakur

Field Summary
static MergeStrategyDEEP
MergeStrategy implementation wherein the elements are merged down to the deepest available Mergeable instance in the DOM tree.
static MergeStrategySHALLOW
MergeStrategy implementation wherein only the element on which the merge operation is called is 'merged'.

Field Detail

DEEP

public static final MergeStrategy DEEP
MergeStrategy implementation wherein the elements are merged down to the deepest available Mergeable instance in the DOM tree.

SHALLOW

public static final MergeStrategy SHALLOW
MergeStrategy implementation wherein only the element on which the merge operation is called is 'merged'. The merge does not traverse the DOM tree any further.
Copyright © 2001-2010 Codehaus. All Rights Reserved.