public class ComponentElement extends AbstractMergeableElement
Modifier and Type | Field and Description |
---|---|
private DescriptorTag[] |
allowedTags
Allowed elements/tags that we can expect under this element.
|
private static DescriptorTag |
CONFIGURATION |
private static DescriptorTag |
DESCRIPTION |
(package private) static DescriptorTag |
FIELD_NAME |
private static DescriptorTag |
IMPLEMENTATION |
(package private) static DescriptorTag |
ISOLATION_REALM |
private static DescriptorTag |
LIFECYCLE_HANDLER |
(package private) static DescriptorTag |
OPTIONAL |
(package private) static DescriptorTag |
ROLE |
(package private) static DescriptorTag |
ROLE_HINT |
(package private) static DescriptorTag |
TAG |
element
Constructor and Description |
---|
ComponentElement(org.jdom2.Element element) |
Modifier and Type | Method and Description |
---|---|
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. |
isRecessiveElementInConflict, isRecessiveElementInConflict, merge, 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, 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
private final DescriptorTag[] allowedTags
static final DescriptorTag TAG
static final DescriptorTag ROLE
static final DescriptorTag ROLE_HINT
static final DescriptorTag OPTIONAL
static final DescriptorTag ISOLATION_REALM
private static final DescriptorTag DESCRIPTION
private static final DescriptorTag CONFIGURATION
static final DescriptorTag FIELD_NAME
private static final DescriptorTag IMPLEMENTATION
private static final DescriptorTag LIFECYCLE_HANDLER
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.public DescriptorTag[] getAllowedTags()
Mergeable