public static enum Disclaimer.FormatEnum extends Enum<Disclaimer.FormatEnum>
| Modifier and Type | Method and Description |
|---|---|
static Disclaimer.FormatEnum |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static Disclaimer.FormatEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Disclaimer.FormatEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Disclaimer.FormatEnum TEXT
public static final Disclaimer.FormatEnum XML
public static Disclaimer.FormatEnum[] values()
for (Disclaimer.FormatEnum c : Disclaimer.FormatEnum.values()) System.out.println(c);
public static Disclaimer.FormatEnum valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getValue()
public String toString()
toString in class Enum<Disclaimer.FormatEnum>public static Disclaimer.FormatEnum fromValue(String text)
Copyright © 2018 Symphony Software Foundation. All rights reserved.