Class ApplicationXmlTag
- java.lang.Object
-
- org.codehaus.cargo.module.DescriptorTag
-
- org.codehaus.cargo.module.application.ApplicationXmlTag
-
public final class ApplicationXmlTag extends DescriptorTag
Represents the various top-level tags in a enterprise application deployment descriptor as a typesafe enumeration.
-
-
Field Summary
Fields Modifier and Type Field Description static StringCONTEXT_ROOTElement name 'context-root'.static StringDESCRIPTIONElement name 'description'.static StringDISPLAY_NAMEElement name 'display-name'.static StringEJBElement name 'ejb'.static StringICONElement name 'icon'.static StringMODULEElement name 'module'.static StringSECURITY_ROLEElement name 'security-role'.static StringWEBElement name 'web'.static StringWEB_URIElement name 'web-uri'.
-
Constructor Summary
Constructors Modifier Constructor Description protectedApplicationXmlTag(ApplicationXmlType type, String tagName)Constructor.protectedApplicationXmlTag(ApplicationXmlType type, String tagName, boolean isMultipleAllowed)Constructor.
-
Method Summary
-
Methods inherited from class org.codehaus.cargo.module.DescriptorTag
create, equals, getDescriptorType, getIdentifier, getImplementationClass, getTagName, getTagNamespace, hashCode, isMultipleAllowed, toString
-
-
-
-
Field Detail
-
ICON
public static final String ICON
Element name 'icon'.- See Also:
- Constant Field Values
-
DISPLAY_NAME
public static final String DISPLAY_NAME
Element name 'display-name'.- See Also:
- Constant Field Values
-
DESCRIPTION
public static final String DESCRIPTION
Element name 'description'.- See Also:
- Constant Field Values
-
MODULE
public static final String MODULE
Element name 'module'.- See Also:
- Constant Field Values
-
EJB
public static final String EJB
Element name 'ejb'.- See Also:
- Constant Field Values
-
WEB
public static final String WEB
Element name 'web'.- See Also:
- Constant Field Values
-
WEB_URI
public static final String WEB_URI
Element name 'web-uri'.- See Also:
- Constant Field Values
-
CONTEXT_ROOT
public static final String CONTEXT_ROOT
Element name 'context-root'.- See Also:
- Constant Field Values
-
SECURITY_ROLE
public static final String SECURITY_ROLE
Element name 'security-role'.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ApplicationXmlTag
protected ApplicationXmlTag(ApplicationXmlType type, String tagName, boolean isMultipleAllowed)
Constructor.- Parameters:
type- Descriptor typetagName- The tag name of the elementisMultipleAllowed- Whether the element may occur multiple times in the descriptor
-
ApplicationXmlTag
protected ApplicationXmlTag(ApplicationXmlType type, String tagName)
Constructor.- Parameters:
type- Descriptor typetagName- The tag name of the element
-
-