org.codehaus.cargo.module.webapp.tomcat
Class TomcatContextXmlTag

java.lang.Object
  extended by org.codehaus.cargo.module.DescriptorTag
      extended by 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.

Version:
$Id: TomcatContextXmlTag.java 1705 2008-09-02 13:14:55Z adriana $

Field Summary
static String CONTEXT_PATH
          Attribute name 'path'.
static String PARAMETER
          Element name 'Parameter'.
 
Constructor Summary
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

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 type
tagName - The tag name of the element
isMultipleAllowed - Whether the element may occur multiple times in the descriptor

TomcatContextXmlTag

protected TomcatContextXmlTag(DescriptorType type,
                              String tagName)
Constructor.

Parameters:
type - Descriptor type
tagName - The tag name of the element


Copyright © 2004-2012 Codehaus. All Rights Reserved.