public class DescriptorTag extends Object
Constructor and Description |
---|
DescriptorTag(DescriptorType descriptorType,
String tagName,
boolean isMultipleAllowed)
Constructor.
|
DescriptorTag(DescriptorType descriptorType,
String tagName,
org.jdom.Namespace namespace,
boolean isMultipleAllowed,
Identifier identifier,
Class clazz)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
DescriptorElement |
create() |
boolean |
equals(Object other) |
DescriptorType |
getDescriptorType()
Return the descriptor type that this tag is defined in.
|
Identifier |
getIdentifier() |
Class |
getImplementationClass() |
String |
getTagName() |
org.jdom.Namespace |
getTagNamespace()
Get tag namespace.
|
int |
hashCode() |
boolean |
isMultipleAllowed() |
String |
toString() |
public DescriptorTag(DescriptorType descriptorType, String tagName, org.jdom.Namespace namespace, boolean isMultipleAllowed, Identifier identifier, 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, 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 descriptorpublic boolean equals(Object other)
equals
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
Object.hashCode()
public String getTagName()
getTagName()
public org.jdom.Namespace getTagNamespace()
public boolean isMultipleAllowed()
isMultipleAllowed()
public Identifier getIdentifier()
public Class getImplementationClass()
public DescriptorType getDescriptorType()
public String toString()
toString
in class Object
Object.toString()
public DescriptorElement create() throws CargoException
CargoException
- if any configuration problemCopyright © 2004-2013 Codehaus. All Rights Reserved.