javax.xml.datatype
public static final class: DatatypeConstants.Field [javadoc |
source]
java.lang.Object
javax.xml.datatype.DatatypeConstants$Field
Type-safe enum class that represents six fields
of the
Duration class.
Method from javax.xml.datatype.DatatypeConstants$Field Summary: |
---|
getId, toString |
Methods from java.lang.Object: |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method from javax.xml.datatype.DatatypeConstants$Field Detail: |
public int getId() {
return id;
}
|
public String toString() {
return str;
}
Returns a field name in English. This method
is intended to be used for debugging/diagnosis
and not for display to end-users. |