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 String
CONTEXT_ROOT
Element name 'context-root'.static String
DESCRIPTION
Element name 'description'.static String
DISPLAY_NAME
Element name 'display-name'.static String
EJB
Element name 'ejb'.static String
ICON
Element name 'icon'.static String
MODULE
Element name 'module'.static String
SECURITY_ROLE
Element name 'security-role'.static String
WEB
Element name 'web'.static String
WEB_URI
Element name 'web-uri'.
-
Constructor Summary
Constructors Modifier Constructor Description protected
ApplicationXmlTag(ApplicationXmlType type, String tagName)
Constructor.protected
ApplicationXmlTag(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
-
-