public class RequirementsElement extends AbstractMergeableElementList
| Modifier and Type | Field and Description |
|---|---|
static DescriptorTag |
TAG |
element| Constructor and Description |
|---|
RequirementsElement(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 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. |
merge, merge, parseRecurringMergeablesisRecessiveElementInConflict, isRecessiveElementInConflict, merge, mergeableElementComesFromRecessiveaddContent, 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, toStringpublic static final DescriptorTag TAG
protected boolean isExpectedElementType(Mergeable me)
AbstractMergeableSupportMergeable was of same type as this
class.isExpectedElementType in class AbstractMergeableSupportme - Mergeable instance to test.true if the passed in Mergeable can be merged with
the current Mergeable.public DescriptorTag[] getAllowedTags()
Mergeableprotected List getElementNamesForConflictResolution(List defaultList)
AbstractMergeableSupportgetElementNamesForConflictResolution in class AbstractMergeableElementListprotected String getTagNameForRecurringMergeable()
AbstractMergeableElementListgetTagNameForRecurringMergeable in class AbstractMergeableElementListMergeable element that occurs multiple times.Copyright © 2001-2016 Codehaus. All Rights Reserved.