|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.novell.nds.dirxml.driver.xds.DTDVersion
An enumeration of values for the <nds>
element's
dtdversion
attribute.
Field Summary | |
static DTDVersion |
CURRENT
The latest dtdversion attribute value. |
static DTDVersion |
ILLEGAL
Deprecated. no longer used; any value is legal |
static DTDVersion |
UNKNOWN
A <nds> element has no dtdversion
attribute or no dtdversion attribute value. |
static DTDVersion |
V1_0
A <nds> element has a dtdversion
attribute value of "1.0" . |
static DTDVersion |
V1_1
A <nds> element has a dtdversion
attribute value of "1.1" . |
static DTDVersion |
V2_0
A <nds> element has a dtdversion
attribute value of "2.0" . |
static DTDVersion |
V3_0
A <nds> element has a dtdversion
attribute value of "3.0" . |
Method Summary | |
int |
compareTo(Object someVersion)
Compares this version to someVersion . |
boolean |
equals(Object someVersion)
Compares this verison to someVersion . |
boolean |
equals(String someVersion)
Compares this verison to someVersion . |
String |
toString()
Returns a string representation of this version (e.g., "1.0", "1.1"). |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final DTDVersion V1_0
<nds>
element has a dtdversion
attribute value of "1.0"
.
NOTE: this value DOES affect how documents are parsed and validated
public static final DTDVersion V1_1
<nds>
element has a dtdversion
attribute value of "1.1"
.
NOTE: this value DOES affect how documents are parsed and validated
public static final DTDVersion V2_0
<nds>
element has a dtdversion
attribute value of "2.0"
.
NOTE: this value DOES affect how documents are parsed and validated
public static final DTDVersion V3_0
<nds>
element has a dtdversion
attribute value of "3.0"
.
NOTE: this value DOES NOT affect how documents are parsed and validated
public static final DTDVersion CURRENT
dtdversion
attribute value.
NOTE: use of this value is discouraged given the new interpretation of this attribute; it's preferable that a driver writer use one of the specific version numbers to deliberately indicate which version of IDM a driver was written for; using this value will cause the value to go up whenever this library is patched NOTE: this value DOES NOT affect how documents are parsed and validated
public static final DTDVersion UNKNOWN
<nds>
element has no dtdversion
attribute or no dtdversion
attribute value.
public static final DTDVersion ILLEGAL
<nds>
element has an illegal
dtdversion
attribute value.
Method Detail |
public int compareTo(Object someVersion)
someVersion
.
compareTo
in interface Comparable
someVersion
- must not be null
XDS.LESS_THAN
:someVersion
XDS.EQUAL
:someVersion
XDS.GREATER_THAN
:someVersion
public boolean equals(Object someVersion)
someVersion
.
someVersion
- may be null
true
:someVersion
is equal to this versionfalse
:someVersion
is not equal to this
versionpublic boolean equals(String someVersion)
someVersion
.
someVersion
- may be null
true
:someVersion
is equal to this versionfalse
:someVersion
is not equal to this
versionpublic String toString()
null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |