|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.plexus.metadata.merge.support.AbstractMergeableSupport
org.codehaus.plexus.metadata.merge.support.AbstractMergeableElement
org.codehaus.plexus.metadata.merge.support.AbstractMergeableElementList
org.codehaus.plexus.metadata.merge.support.ComponentsElement
public class ComponentsElement
Field Summary |
---|
Fields inherited from class org.codehaus.plexus.metadata.merge.support.AbstractMergeableSupport |
---|
element |
Constructor Summary | |
---|---|
ComponentsElement(org.jdom.Element element)
|
Method Summary | |
---|---|
DescriptorTag[] |
getAllowedTags()
Returns an array of tags/elements that are allowed under the current element. |
protected List |
getElementNamesForConflictChecks(List defaultList)
|
protected List |
getElementNamesForConflictResolution(List defaultList)
Sub classes should override if they wish to provide a different combination of composite keys for determining conflicts. |
protected String |
getTagNameForRecurringMergeable()
Allows the sub classes to provided a tag name that they expect to recurr within them. |
protected boolean |
isExpectedElementType(Mergeable me)
Determines if the passed in Mergeable was of same type as this
class. |
Methods inherited from class org.codehaus.plexus.metadata.merge.support.AbstractMergeableElementList |
---|
merge, merge, parseRecurringMergeables |
Methods inherited from class org.codehaus.plexus.metadata.merge.support.AbstractMergeableElement |
---|
isRecessiveElementInConflict, isRecessiveElementInConflict, merge, mergeableElementComesFromRecessive |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ComponentsElement(org.jdom.Element element)
Method Detail |
---|
public DescriptorTag[] getAllowedTags()
Mergeable
protected boolean isExpectedElementType(Mergeable me)
AbstractMergeableSupport
Mergeable
was of same type as this
class.
isExpectedElementType
in class AbstractMergeableSupport
me
- Mergeable
instance to test.
true
if the passed in Mergeable can be merged with
the current Mergeable.protected List getElementNamesForConflictChecks(List defaultList)
protected String getTagNameForRecurringMergeable()
AbstractMergeableElementList
getTagNameForRecurringMergeable
in class AbstractMergeableElementList
Mergeable
element that occurs multiple times.protected List getElementNamesForConflictResolution(List defaultList)
AbstractMergeableSupport
getElementNamesForConflictResolution
in class AbstractMergeableElementList
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |