Utility class to contain basic Datatype values as constants.
| Modifier and Type | Class and Description |
|---|---|
| public static class | DatatypeConstants.
Type-safe enum class that represents six fields
of the |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | APRIL
Value for fourth month of year. |
| public static final int | AUGUST
Value for eighth month of year. |
| public static final QName | DATE
Fully qualified name for W3C XML Schema 1.0 datatype |
| public static final QName | DATETIME
Fully qualified name for W3C XML Schema 1.0 datatype |
| public static final DatatypeConstants. | DAYS
A constant that represents the days field. |
| public static final int | DECEMBER
Value for twelve month of year. |
| public static final QName | DURATION
Fully qualified name for W3C XML Schema datatype |
| public static final QName | DURATION_DAYTIME
Fully qualified name for XQuery 1.0 and XPath 2.0 datatype |
| public static final QName | DURATION_YEARMONTH
Fully qualified name for XQuery 1.0 and XPath 2.0 datatype |
| public static final int | EQUAL
Comparison result. |
| public static final int | FEBRUARY
Value for second month of year. |
| public static final int | FIELD_UNDEFINED
Designation that an "int" field is not set. |
| public static final QName | GDAY
Fully qualified name for W3C XML Schema 1.0 datatype |
| public static final QName | GMONTH
Fully qualified name for W3C XML Schema 1.0 datatype |
| public static final QName | GMONTHDAY
Fully qualified name for W3C XML Schema 1.0 datatype |
| public static final int | GREATER
Comparison result. |
| public static final QName | GYEAR
Fully qualified name for W3C XML Schema 1.0 datatype |
| public static final QName | GYEARMONTH
Fully qualified name for W3C XML Schema 1.0 datatype |
| public static final DatatypeConstants. | HOURS
A constant that represents the hours field. |
| public static final int | INDETERMINATE
Comparison result. |
| public static final int | JANUARY
Value for first month of year. |
| public static final int | JULY
Value for seventh month of year. |
| public static final int | JUNE
Value for sixth month of year. |
| public static final int | LESSER
Comparison result. |
| public static final int | MARCH
Value for third month of year. |
| public static final int | MAX_TIMEZONE_OFFSET
W3C XML Schema max timezone offset is -14:00. |
| public static final int | MAY
Value for fifth month of year. |
| public static final int | MIN_TIMEZONE_OFFSET
W3C XML Schema min timezone offset is +14:00. |
| public static final DatatypeConstants. | MINUTES
A constant that represents the minutes field. |
| public static final DatatypeConstants. | MONTHS
A constant that represents the months field. |
| public static final int | NOVEMBER
Value for eleven month of year. |
| public static final int | OCTOBER
Value for tenth month of year. |
| public static final DatatypeConstants. | SECONDS
A constant that represents the seconds field. |
| public static final int | SEPTEMBER
Value for ninth month of year. |
| public static final QName | TIME
Fully qualified name for W3C XML Schema 1.0 datatype |
| public static final DatatypeConstants. | YEARS
A constant that represents the years field. |
| Access | Constructor and Description |
|---|---|
| private |
| APRIL | back to summary |
|---|---|
| public static final int APRIL Value for fourth month of year. | |
| AUGUST | back to summary |
|---|---|
| public static final int AUGUST Value for eighth month of year. | |
| DATE | back to summary |
|---|---|
| public static final QName DATE Fully qualified name for W3C XML Schema 1.0 datatype | |
| DATETIME | back to summary |
|---|---|
| public static final QName DATETIME Fully qualified name for W3C XML Schema 1.0 datatype | |
| DAYS | back to summary |
|---|---|
| public static final DatatypeConstants. A constant that represents the days field. | |
| DECEMBER | back to summary |
|---|---|
| public static final int DECEMBER Value for twelve month of year. | |
| DURATION | back to summary |
|---|---|
| public static final QName DURATION Fully qualified name for W3C XML Schema datatype | |
| DURATION_DAYTIME | back to summary |
|---|---|
| public static final QName DURATION_DAYTIME Fully qualified name for XQuery 1.0 and XPath 2.0 datatype | |
| DURATION_YEARMONTH | back to summary |
|---|---|
| public static final QName DURATION_YEARMONTH Fully qualified name for XQuery 1.0 and XPath 2.0 datatype | |
| EQUAL | back to summary |
|---|---|
| public static final int EQUAL Comparison result. | |
| FEBRUARY | back to summary |
|---|---|
| public static final int FEBRUARY Value for second month of year. | |
| FIELD_UNDEFINED | back to summary |
|---|---|
| public static final int FIELD_UNDEFINED Designation that an "int" field is not set. | |
| GDAY | back to summary |
|---|---|
| public static final QName GDAY Fully qualified name for W3C XML Schema 1.0 datatype | |
| GMONTH | back to summary |
|---|---|
| public static final QName GMONTH Fully qualified name for W3C XML Schema 1.0 datatype | |
| GMONTHDAY | back to summary |
|---|---|
| public static final QName GMONTHDAY Fully qualified name for W3C XML Schema 1.0 datatype | |
| GREATER | back to summary |
|---|---|
| public static final int GREATER Comparison result. | |
| GYEAR | back to summary |
|---|---|
| public static final QName GYEAR Fully qualified name for W3C XML Schema 1.0 datatype | |
| GYEARMONTH | back to summary |
|---|---|
| public static final QName GYEARMONTH Fully qualified name for W3C XML Schema 1.0 datatype | |
| HOURS | back to summary |
|---|---|
| public static final DatatypeConstants. A constant that represents the hours field. | |
| INDETERMINATE | back to summary |
|---|---|
| public static final int INDETERMINATE Comparison result. | |
| JANUARY | back to summary |
|---|---|
| public static final int JANUARY Value for first month of year. | |
| JULY | back to summary |
|---|---|
| public static final int JULY Value for seventh month of year. | |
| JUNE | back to summary |
|---|---|
| public static final int JUNE Value for sixth month of year. | |
| LESSER | back to summary |
|---|---|
| public static final int LESSER Comparison result. | |
| MARCH | back to summary |
|---|---|
| public static final int MARCH Value for third month of year. | |
| MAX_TIMEZONE_OFFSET | back to summary |
|---|---|
| public static final int MAX_TIMEZONE_OFFSET W3C XML Schema max timezone offset is -14:00. Zone offset is in minutes. | |
| MAY | back to summary |
|---|---|
| public static final int MAY Value for fifth month of year. | |
| MIN_TIMEZONE_OFFSET | back to summary |
|---|---|
| public static final int MIN_TIMEZONE_OFFSET W3C XML Schema min timezone offset is +14:00. Zone offset is in minutes. | |
| MINUTES | back to summary |
|---|---|
| public static final DatatypeConstants. A constant that represents the minutes field. | |
| MONTHS | back to summary |
|---|---|
| public static final DatatypeConstants. A constant that represents the months field. | |
| NOVEMBER | back to summary |
|---|---|
| public static final int NOVEMBER Value for eleven month of year. | |
| OCTOBER | back to summary |
|---|---|
| public static final int OCTOBER Value for tenth month of year. | |
| SECONDS | back to summary |
|---|---|
| public static final DatatypeConstants. A constant that represents the seconds field. | |
| SEPTEMBER | back to summary |
|---|---|
| public static final int SEPTEMBER Value for ninth month of year. | |
| TIME | back to summary |
|---|---|
| public static final QName TIME Fully qualified name for W3C XML Schema 1.0 datatype | |
| YEARS | back to summary |
|---|---|
| public static final DatatypeConstants. A constant that represents the years field. | |
| DatatypeConstants | back to summary |
|---|---|
| private DatatypeConstants() Private constructor to prevent instantiation. | |
Duration class.
| Modifier and Type | Field and Description |
|---|---|
| private final int | id
Unique id of the field. |
| private final String | str
|
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public String | Returns: a non-null valid String constant.Overrides java. Returns a field name in English. |
| id | back to summary |
|---|---|
| private final int id Unique id of the field. This value allows the | |
| str | back to summary |
|---|---|
| private final String str
| |
| Field | back to summary |
|---|---|
| private Field(final String str, final int id) Construct a
| |
| getId | back to summary |
|---|---|
| public int getId() Get id of this Field.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns a field name in English. This method is intended to be used for debugging/diagnosis and not for display to end-users.
| |