|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.cargo.module.DescriptorTag
public class DescriptorTag
Represents the various top-level tags in a deployment descriptor as a typesafe enumeration.
Constructor Summary | |
---|---|
DescriptorTag(DescriptorType descriptorType,
java.lang.String tagName,
boolean isMultipleAllowed)
Constructor. |
|
DescriptorTag(DescriptorType descriptorType,
java.lang.String tagName,
org.jdom.Namespace namespace,
boolean isMultipleAllowed,
Identifier identifier,
java.lang.Class clazz)
Constructor. |
Method Summary | |
---|---|
DescriptorElement |
create()
|
boolean |
equals(java.lang.Object other)
|
DescriptorType |
getDescriptorType()
Return the descriptor type that this tag is defined in. |
Identifier |
getIdentifier()
|
java.lang.Class |
getImplementationClass()
|
java.lang.String |
getTagName()
|
org.jdom.Namespace |
getTagNamespace()
Get tag namespace. |
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 |
---|
public DescriptorTag(DescriptorType descriptorType, java.lang.String tagName, org.jdom.Namespace namespace, boolean isMultipleAllowed, Identifier identifier, java.lang.Class clazz)
descriptorType
- the type of this tagtagName
- The tag name of the elementisMultipleAllowed
- Whether the element may occur multiple times in the descriptoridentifier
- optional tag identifiernamespace
- The namespace to useclazz
- implementation class for this tagpublic DescriptorTag(DescriptorType descriptorType, java.lang.String tagName, boolean isMultipleAllowed)
descriptorType
- the type of this tagtagName
- The tag name of the elementisMultipleAllowed
- Whether the element may occur multiple times in the descriptorMethod Detail |
---|
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public java.lang.String getTagName()
getTagName()
public org.jdom.Namespace getTagNamespace()
public boolean isMultipleAllowed()
isMultipleAllowed()
public Identifier getIdentifier()
public java.lang.Class getImplementationClass()
public DescriptorType getDescriptorType()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public DescriptorElement create() throws CargoException
CargoException
- if any configuration problem
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |