Package | Description |
---|---|
org.codehaus.cargo.module.merge | |
org.codehaus.cargo.module.merge.tagstrategy |
Modifier and Type | Field and Description |
---|---|
static MergeStrategy |
DescriptorMergerByTag.IGNORE
A default merge strategy for ignoring items.
|
static MergeStrategy |
DescriptorMergerByTag.OVERWRITE
A default merge strategy for overwriting items.
|
static MergeStrategy |
DescriptorMergerByTag.PRESERVE
A default merge strategy for preserving items.
|
Modifier and Type | Method and Description |
---|---|
MergeStrategy |
DescriptorMergerByTag.getDefaultStrategyIfNoneSpecified() |
protected MergeStrategy |
DescriptorMergerByTag.getMergeStrategy(String tag) |
Modifier and Type | Method and Description |
---|---|
void |
DescriptorMergerByTag.setDefaultStrategyIfNoneSpecified(MergeStrategy defaultStrategyIfNoneSpecified) |
void |
DescriptorMergerByTag.setStrategy(String tag,
MergeStrategy strategy)
Set the merging strategy for a particular tag.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractChoiceMergeStrategy
A merging strategy that can make a decision between various differing merge strategies,
depending upon the state that it is passed.
|
class |
ChooseByNameMergeStrategy
A merging strategy that is determined by name.
|
class |
NodeMergeStrategy
A merging strategy that can be used to combine two XML documents together.
|
Modifier and Type | Method and Description |
---|---|
void |
ChooseByNameMergeStrategy.addStrategyForName(String name,
MergeStrategy strategy)
If the element has this name, then use this strategy.
|
Constructor and Description |
---|
ChooseByNameMergeStrategy(MergeStrategy defaultStrategy)
Constructor.
|
Copyright © 2004-2013 Codehaus. All Rights Reserved.