Class ComponentElement
java.lang.Object
org.codehaus.plexus.metadata.merge.support.AbstractMergeableSupport
org.codehaus.plexus.metadata.merge.support.AbstractMergeableElement
org.codehaus.plexus.metadata.merge.support.ComponentElement
- All Implemented Interfaces:
Mergeable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final DescriptorTag[]
Allowed elements/tags that we can expect under this element.private static final DescriptorTag
private static final DescriptorTag
(package private) static final DescriptorTag
private static final DescriptorTag
(package private) static final DescriptorTag
private static final DescriptorTag
(package private) static final DescriptorTag
(package private) static final DescriptorTag
(package private) static final DescriptorTag
(package private) static final DescriptorTag
Fields inherited from class org.codehaus.plexus.metadata.merge.support.AbstractMergeableSupport
element
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns an array of tags/elements that are allowed under the current element.protected boolean
Determines if the passed inMergeable
was of same type as this class.Methods inherited from class org.codehaus.plexus.metadata.merge.support.AbstractMergeableElement
isRecessiveElementInConflict, isRecessiveElementInConflict, merge, merge, mergeableElementComesFromRecessive
Methods inherited from class org.codehaus.plexus.metadata.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
-
Field Details
-
allowedTags
Allowed elements/tags that we can expect under this element. -
TAG
-
ROLE
-
ROLE_HINT
-
OPTIONAL
-
ISOLATION_REALM
-
DESCRIPTION
-
CONFIGURATION
-
FIELD_NAME
-
IMPLEMENTATION
-
LIFECYCLE_HANDLER
-
-
Constructor Details
-
ComponentElement
public ComponentElement(org.jdom2.Element element)
-
-
Method Details
-
isExpectedElementType
Description copied from class:AbstractMergeableSupport
Determines if the passed inMergeable
was of same type as this class.- Specified by:
isExpectedElementType
in classAbstractMergeableSupport
- Parameters:
me
-Mergeable
instance to test.- Returns:
true
if the passed in Mergeable can be merged with the current Mergeable.
-
getAllowedTags
Description copied from interface:Mergeable
Returns an array of tags/elements that are allowed under the current element.- Returns:
- the allowedTags
-