Restriction
enum Restriction
Java class for restriction
.The following schema fragment specifies the expected content contained within this class.
<simpleType name="restriction">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="simulator"/>
<enumeration value="autonomous traffic"/>
<enumeration value="pedestrian"/>
<enumeration value="none"/>
</restriction>
</simpleType>
Content copied to clipboard
Functions
Link copied to clipboard
Gets the enum associated to the value passed as parameter.
Link copied to clipboard
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.)
Link copied to clipboard
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.