org.codehaus.cargo.module
Class DescriptorTag

java.lang.Object
  extended by org.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()
          
 int hashCode()
          
 boolean isMultipleAllowed()
          
 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)

Overrides:
equals in class java.lang.Object
See Also:
Object.toString()

hashCode

public int hashCode()

Overrides:
hashCode in class java.lang.Object
See Also:
Object.hashCode()

getTagName

public java.lang.String getTagName()

See Also:
getTagName()

isMultipleAllowed

public boolean isMultipleAllowed()

See Also:
isMultipleAllowed()

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object
See Also:
Object.toString()


Copyright © 2004-2010 Codehaus. All Rights Reserved.