|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.cargo.module.ejb.EjbJarXmlVersion
public final class EjbJarXmlVersion
Enumerated type that represents the version of the deployment descriptor of a ejb descriptor (ejb-jar.xml).
| Field Summary | |
|---|---|
static EjbJarXmlVersion |
V2_0
Instance for version 2.0. |
| Method Summary | |
|---|---|
int |
compareTo(java.lang.Object other)
|
boolean |
equals(java.lang.Object other)
|
java.lang.String |
getPublicId()
Returns the public ID of the document type corresponding to the descriptor version. |
java.lang.String |
getSystemId()
Returns the system ID of the document type corresponding to the descriptor version. |
java.lang.String |
getVersion()
Returns the tag name. |
int |
hashCode()
|
java.lang.String |
toString()
|
static EjbJarXmlVersion |
valueOf(org.w3c.dom.DocumentType docType)
Returns the version corresponding to the given document type. |
static EjbJarXmlVersion |
valueOf(java.lang.String publicId)
Returns the version corresponding to the given public ID. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final EjbJarXmlVersion V2_0
| Method Detail |
|---|
public int compareTo(java.lang.Object other)
compareTo in interface java.lang.ComparableComparable.compareTo(T)public boolean equals(java.lang.Object other)
equals in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()public java.lang.String getVersion()
public java.lang.String getPublicId()
public java.lang.String getSystemId()
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
public static EjbJarXmlVersion valueOf(org.w3c.dom.DocumentType docType)
throws java.lang.NullPointerException
docType - The document type
null if the doctype is
not recognized
java.lang.NullPointerException - If the document type is nullpublic static EjbJarXmlVersion valueOf(java.lang.String publicId)
publicId - The public ID
null if the ID is not
recognized
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||