|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.cargo.module.merge.AbstractMergeSet
public abstract class AbstractMergeSet
Abstract class containing a set of items that need to be merged, split up into items that just appear in the left-hand side, those in the right-hand side, and those that are in both (potential conflicts).
| Field Summary | |
|---|---|
java.util.List |
inBoth
Items in both sides (conflicts). |
java.util.List |
inLeftOnly
Items just in the left hand side. |
java.util.List |
inRightOnly
Items just in the right hand side. |
| Constructor Summary | |
|---|---|
AbstractMergeSet()
|
|
| Method Summary | |
|---|---|
abstract void |
add(org.w3c.dom.Element e)
As a result of the merge, add an element to the output. |
int |
merge(MergeStrategy action)
Perform the merge using the passed strategy. |
abstract void |
remove(org.w3c.dom.Element e)
As a result of the merge, remove an element from the output. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public java.util.List inLeftOnly
public java.util.List inRightOnly
public java.util.List inBoth
| Constructor Detail |
|---|
public AbstractMergeSet()
| Method Detail |
|---|
public int merge(MergeStrategy action)
action - in the strategy to use when merging
public abstract void add(org.w3c.dom.Element e)
e - the element to be addedpublic abstract void remove(org.w3c.dom.Element e)
e - the element to be removed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||