Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD

## org.basex.build.fs.parser
Enum Metadata.DateType

    java.lang.Object
      java.lang.Enum<Metadata.DateType>
          org.basex.build.fs.parser.Metadata.DateType

All Implemented Interfaces:
  java.io.Serializable, java.lang.Comparable<Metadata.DateType>

Enclosing class:
  Metadata

    public static enum Metadata.DateType

extends java.lang.Enum<Metadata.DateType>

Available xml data types for `Metadata.DateField` instances.

Author:
  Bastian Lemke

Enum Constant Summary
`date` xs:date.
`dateTime` xs:dateTime.
`gDay` xs:gDay.
`gMonth` xs:gMonth.
`gYear` xs:gYear.
`gYearMonth` xs:gYearMonth.
`time` xs:time.

Method Summary
`byte[]` | `get()` Returns the enum value as byte array.
`static Metadata.DateType` | `valueOf(java.lang.String name)` Returns the enum constant of this type with the specified name.
`static Metadata.DateType[]` | `values()` Returns an array containing the constants of this enum type, in the order they are declared.

Methods inherited from class java.lang.Enum
`compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

Methods inherited from class java.lang.Object
`getClass, notify, notifyAll, wait, wait, wait`

Enum Constant Detail

### date

    public static final Metadata.DateType date

  xs:date.

### time

    public static final Metadata.DateType time

  xs:time.

### dateTime

    public static final Metadata.DateType dateTime

  xs:dateTime.

### gDay

    public static final Metadata.DateType gDay

  xs:gDay.

### gMonth

    public static final Metadata.DateType gMonth

  xs:gMonth.

### gYear

    public static final Metadata.DateType gYear

  xs:gYear.

### gYearMonth

    public static final Metadata.DateType gYearMonth

  xs:gYearMonth.

Method Detail

### values

    public static Metadata.DateType[] values()

  Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:

      for (Metadata.DateType c : Metadata.DateType.values())
          System.out.println(c);

  Returns:
    an array containing the constants of this enum type, in the order they are declared

### valueOf

    public static Metadata.DateType valueOf(java.lang.String name)

  Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

  Parameters:
    `name` - the name of the enum constant to be returned.
  Returns:
    the enum constant with the specified name
  Throws:
    `java.lang.IllegalArgumentException` - if this enum type has no constant with the specified name
    `java.lang.NullPointerException` - if the argument is null

### get

    public byte[] get()

  Returns the enum value as byte array.

  Returns:
    the enum value.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD