|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.plexus.metadata.merge.support.MergeStrategies
public class MergeStrategies
Collection of available Merge Strategies.
TODO: Revisit and factor Mergeable.merge(Mergeable)
to use a MergeStrategy
.
Field Summary | |
---|---|
static MergeStrategy |
DEEP
MergeStrategy implementation wherein the elements are merged
down to the deepest available Mergeable instance in the DOM tree. |
static MergeStrategy |
SHALLOW
MergeStrategy implementation wherein only the element on
which the merge operation is called is 'merged'. |
Constructor Summary | |
---|---|
MergeStrategies()
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final MergeStrategy DEEP
MergeStrategy
implementation wherein the elements are merged
down to the deepest available Mergeable
instance in the DOM tree.
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.
Constructor Detail |
---|
public MergeStrategies()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |