Class TomcatContextXmlTag
- java.lang.Object
-
- org.codehaus.cargo.module.DescriptorTag
-
- org.codehaus.cargo.module.webapp.tomcat.TomcatContextXmlTag
-
public final class TomcatContextXmlTag extends DescriptorTag
Represents the various top-level tags in a Tomcat context web deployment descriptor as a typesafe enumeration.
-
-
Field Summary
Fields Modifier and Type Field Description static String
CONTEXT_PATH
Attribute name 'path'.static String
PARAMETER
Element name 'Parameter'.
-
Constructor Summary
Constructors Modifier Constructor Description protected
TomcatContextXmlTag(DescriptorType type, String tagName)
Constructor.protected
TomcatContextXmlTag(DescriptorType 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
-
CONTEXT_PATH
public static final String CONTEXT_PATH
Attribute name 'path'.- See Also:
- Constant Field Values
-
PARAMETER
public static final String PARAMETER
Element name 'Parameter'.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TomcatContextXmlTag
protected TomcatContextXmlTag(DescriptorType 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
-
TomcatContextXmlTag
protected TomcatContextXmlTag(DescriptorType type, String tagName)
Constructor.- Parameters:
type
- Descriptor typetagName
- The tag name of the element
-
-