org.codehaus.plexus.cdc.merge.support
Class ComponentSetElement

java.lang.Object
  extended by org.codehaus.plexus.cdc.merge.support.AbstractMergeableSupport
      extended by org.codehaus.plexus.cdc.merge.support.AbstractMergeableElement
          extended by org.codehaus.plexus.cdc.merge.support.ComponentSetElement
All Implemented Interfaces:
Mergeable

public class ComponentSetElement
extends AbstractMergeableElement

Version:
$Id: ComponentSetElement.java 3522 2006-07-12 15:06:21Z brett $
Author:
Rahul Thakur

Field Summary
 
Fields inherited from class org.codehaus.plexus.cdc.merge.support.AbstractMergeableSupport
element
 
Constructor Summary
ComponentSetElement(org.jdom.Element element)
           
 
Method Summary
 DescriptorTag[] getAllowedTags()
          Returns an array of tags/elements that are allowed under the current element.
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.cdc.merge.support.AbstractMergeableElement
isRecessiveElementInConflict, isRecessiveElementInConflict, merge, merge, mergeableElementComesFromRecessive
 
Methods inherited from class org.codehaus.plexus.cdc.merge.support.AbstractMergeableSupport
addContent, addContent, addContent, addContent, addContent, addNamespaceDeclaration, clone, cloneContent, detach, equals, getAdditionalNamespaces, getAttribute, getAttribute, getAttributes, getAttributeValue, getAttributeValue, getAttributeValue, getAttributeValue, getChild, getChild, getChildren, getChildren, getChildren, getChildText, getChildText, getChildTextNormalize, getChildTextNormalize, getChildTextTrim, getChildTextTrim, getContent, getContent, getContent, getContentSize, getDefaultMergeStrategy, getDescendants, getDescendants, getDocument, getElement, getElementNamesForConflictResolution, getName, getNamespace, getNamespace, getNamespacePrefix, getNamespaceURI, getParent, getParentElement, getQualifiedName, getText, getTextNormalize, getTextTrim, getValue, hashCode, indexOf, isAncestor, isRootElement, removeAttribute, removeAttribute, removeAttribute, removeChild, removeChild, removeChildren, removeChildren, removeContent, removeContent, removeContent, removeContent, removeNamespaceDeclaration, setAttribute, setAttribute, setAttribute, setAttributes, setContent, setContent, setContent, setContent, setName, setNamespace, setText, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ComponentSetElement

public ComponentSetElement(org.jdom.Element element)
Method Detail

getAllowedTags

public DescriptorTag[] getAllowedTags()
Description copied from interface: Mergeable
Returns an array of tags/elements that are allowed under the current element.

Returns:
the allowedTags

isExpectedElementType

protected boolean isExpectedElementType(Mergeable me)
Description copied from class: AbstractMergeableSupport
Determines if the passed in Mergeable was of same type as this class.

Specified by:
isExpectedElementType in class AbstractMergeableSupport
Parameters:
me - Mergeable instance to test.
Returns:
true if the passed in Mergeable can be merged with the current Mergeable.


Copyright © 2001-2008 Codehaus. All Rights Reserved.