Class PlexusXmlTag
- java.lang.Object
-
- org.codehaus.plexus.metadata.merge.support.DescriptorTag
-
- org.codehaus.plexus.metadata.merge.support.PlexusXmlTag
-
public class PlexusXmlTag extends DescriptorTag
All allowable tags incomponents.xmland their bindings toMergeablecounterparts (if required).This implementation may change.
TODO Might be an idea factor and set up the list of allowed tags here itself.
-
-
Field Summary
Fields Modifier and Type Field Description static PlexusXmlTagCOMPONENTstatic PlexusXmlTagCOMPONENT_SETstatic PlexusXmlTagCOMPONENTSstatic PlexusXmlTagCONFIGURATIONstatic PlexusXmlTagFIELD_NAMEstatic PlexusXmlTagIMPLEMENTATIONstatic PlexusXmlTagLIFECYCLE_HANDLERstatic PlexusXmlTagREQUIREMENTstatic PlexusXmlTagREQUIREMENTSstatic PlexusXmlTagROLEstatic PlexusXmlTagROLE_HINT
-
Constructor Summary
Constructors Modifier Constructor Description privatePlexusXmlTag(java.lang.String tagName)By default we don't allow multiples of same tag names.privatePlexusXmlTag(java.lang.String tagName, boolean isMultipleAllowed, java.lang.Class mergeableClass)
-
Method Summary
-
Methods inherited from class org.codehaus.plexus.metadata.merge.support.DescriptorTag
createMergeable, equals, getTagName, hashCode, isMergeable, isMultipleAllowed, toString
-
-
-
-
Field Detail
-
COMPONENT_SET
public static final PlexusXmlTag COMPONENT_SET
-
COMPONENTS
public static final PlexusXmlTag COMPONENTS
-
COMPONENT
public static final PlexusXmlTag COMPONENT
-
ROLE
public static final PlexusXmlTag ROLE
-
ROLE_HINT
public static final PlexusXmlTag ROLE_HINT
-
FIELD_NAME
public static final PlexusXmlTag FIELD_NAME
-
IMPLEMENTATION
public static final PlexusXmlTag IMPLEMENTATION
-
LIFECYCLE_HANDLER
public static final PlexusXmlTag LIFECYCLE_HANDLER
-
REQUIREMENTS
public static final PlexusXmlTag REQUIREMENTS
-
CONFIGURATION
public static final PlexusXmlTag CONFIGURATION
-
REQUIREMENT
public static final PlexusXmlTag REQUIREMENT
-
-
Constructor Detail
-
PlexusXmlTag
private PlexusXmlTag(java.lang.String tagName, boolean isMultipleAllowed, java.lang.Class mergeableClass)- Parameters:
tagName-isMultipleAllowed-mergeableClass- Class that wraps this tag (as JDom element) and provides for merging same tags.
-
PlexusXmlTag
private PlexusXmlTag(java.lang.String tagName)
By default we don't allow multiples of same tag names.- Parameters:
tagName-
-
-