public class ComponentsElement extends AbstractMergeableElementList
element
Constructor and Description |
---|
ComponentsElement(org.jdom.Element element) |
Modifier and Type | Method and Description |
---|---|
DescriptorTag[] |
getAllowedTags()
Returns an array of tags/elements that are allowed under the current
element.
|
protected java.util.List |
getElementNamesForConflictChecks(java.util.List defaultList) |
protected java.util.List |
getElementNamesForConflictResolution(java.util.List defaultList)
Sub classes should override if they wish to provide a different
combination of composite keys for determining conflicts.
|
protected java.lang.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. |
merge, merge, parseRecurringMergeables
isRecessiveElementInConflict, isRecessiveElementInConflict, merge, mergeableElementComesFromRecessive
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, 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
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 java.util.List getElementNamesForConflictChecks(java.util.List defaultList)
protected java.lang.String getTagNameForRecurringMergeable()
AbstractMergeableElementList
getTagNameForRecurringMergeable
in class AbstractMergeableElementList
Mergeable
element that occurs multiple times.protected java.util.List getElementNamesForConflictResolution(java.util.List defaultList)
AbstractMergeableSupport
getElementNamesForConflictResolution
in class AbstractMergeableElementList