org.codehaus.plexus.cdc.merge.support
public class DescriptorTag extends Object
Version: $Id: DescriptorTag.java 3522 2006-07-12 15:06:21Z brett $
Constructor Summary | |
---|---|
DescriptorTag(String tagName)
Constructor.
| |
DescriptorTag(String tagName, boolean isMultipleAllowed)
Constructor.
| |
DescriptorTag(String tagName, boolean isMultipleAllowed, Class mergeableClass)
Constructor.
|
Method Summary | |
---|---|
Mergeable | createMergeable(Element element)
Creates an Mergeable instance from the registered class for this
tag instance.
|
boolean | equals(Object other) |
String | getTagName() |
int | hashCode() |
boolean | isMergeable()
Determines if a particular Tag is mergeable or not.
|
boolean | isMultipleAllowed()
Returns whether the tag may occur multiple times in the descriptor.
|
String | toString() |
Parameters: tagName The tag name of the element
Deprecated: Use DescriptorTag instead
Constructor.Parameters: tagName The tag name of the element isMultipleAllowed Whether the element may occur multiple times in the descriptor
Parameters: tagName The tag name of the element isMultipleAllowed Whether the element may occur multiple times in the descriptor mergeableClass Concrete implementation of Mergeable that is bound this tag.
Returns: instance of Mergeable.
Throws: Exception if there was an error creating an instance.
Returns: true
if this tag is mergeable.
Returns: Whether multiple occurrences are allowed