org.codehaus.cargo.module
Class DescriptorTag

java.lang.Object
  extended byorg.codehaus.cargo.module.DescriptorTag
Direct Known Subclasses:
ApplicationXmlTag, EjbJarXmlTag, JBossWebXmlTag, ResinWebXmlTag, TomcatContextXmlTag, WeblogicEjbJarXmlTag, WeblogicXmlTag, WebXmlTag

public class DescriptorTag
extends java.lang.Object

Represents the various top-level tags in a deployment descriptor as a typesafe enumeration.

Version:
$Id: DescriptorTag.java 1089 2006-07-15 19:39:59Z vmassol $

Constructor Summary
DescriptorTag(java.lang.String tagName, boolean isMultipleAllowed)
          Constructor.
 
Method Summary
 boolean equals(java.lang.Object other)
          
 java.lang.String getTagName()
          {@inheritDoc}
 int hashCode()
          
 boolean isMultipleAllowed()
          {@inheritDoc}
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescriptorTag

public DescriptorTag(java.lang.String tagName,
                     boolean isMultipleAllowed)
Constructor.

Parameters:
tagName - The tag name of the element
isMultipleAllowed - Whether the element may occur multiple times in the descriptor
Method Detail

equals

public boolean equals(java.lang.Object other)

See Also:
Object.toString()

hashCode

public int hashCode()

See Also:
Object.hashCode()

getTagName

public java.lang.String getTagName()
{@inheritDoc}

See Also:
getTagName()

isMultipleAllowed

public boolean isMultipleAllowed()
{@inheritDoc}

See Also:
isMultipleAllowed()

toString

public java.lang.String toString()

See Also:
Object.toString()


Copyright © 2004-2007 Codehaus. All Rights Reserved.