Enum VCard.Classification
- java.lang.Object
-
- java.lang.Enum<VCard.Classification>
-
- rocks.xmpp.extensions.vcard.temp.model.VCard.Classification
-
- All Implemented Interfaces:
Serializable
,Comparable<VCard.Classification>
- Enclosing class:
- VCard
public static enum VCard.Classification extends Enum<VCard.Classification>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONFIDENTIAL
PRIVATE
PUBLIC
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VCard.Classification
valueOf(String name)
Returns the enum constant of this type with the specified name.static VCard.Classification[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PUBLIC
public static final VCard.Classification PUBLIC
-
PRIVATE
public static final VCard.Classification PRIVATE
-
CONFIDENTIAL
public static final VCard.Classification CONFIDENTIAL
-
-
Method Detail
-
values
public static VCard.Classification[] 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 (VCard.Classification c : VCard.Classification.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VCard.Classification 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
-
-