Package uk.org.siri.siri14
Enum LinkContentEnumeration
- java.lang.Object
-
- java.lang.Enum<LinkContentEnumeration>
-
- uk.org.siri.siri14.LinkContentEnumeration
-
- All Implemented Interfaces:
Serializable,Comparable<LinkContentEnumeration>
public enum LinkContentEnumeration extends Enum<LinkContentEnumeration>
Java class for LinkContentEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="LinkContentEnumeration"> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="timetable"/> <enumeration value="relatedSite"/> <enumeration value="details"/> <enumeration value="advice"/> <enumeration value="other"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADVICEDETAILSOTHERRELATED_SITETIMETABLE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LinkContentEnumerationfromValue(String v)Stringvalue()static LinkContentEnumerationvalueOf(String name)Returns the enum constant of this type with the specified name.static LinkContentEnumeration[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TIMETABLE
public static final LinkContentEnumeration TIMETABLE
-
RELATED_SITE
public static final LinkContentEnumeration RELATED_SITE
-
DETAILS
public static final LinkContentEnumeration DETAILS
-
ADVICE
public static final LinkContentEnumeration ADVICE
-
OTHER
public static final LinkContentEnumeration OTHER
-
-
Method Detail
-
values
public static LinkContentEnumeration[] 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 (LinkContentEnumeration c : LinkContentEnumeration.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LinkContentEnumeration valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
value
public String value()
-
fromValue
public static LinkContentEnumeration fromValue(String v)
-
-