public enum JavaVisibilityEnum extends java.lang.Enum<JavaVisibilityEnum>
<simpleType name="JavaVisibilityKind"> <restriction base="{http://www.w3.org/2001/XMLSchema}NCName"> <enumeration value="PUBLIC"/> <enumeration value="PRIVATE"/> <enumeration value="PROTECTED"/> <enumeration value="PACKAGE"/> </restriction> </simpleType>
Modifier and Type | Method and Description |
---|---|
static JavaVisibilityEnum |
fromValue(java.lang.String v) |
java.lang.String |
value() |
static JavaVisibilityEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JavaVisibilityEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JavaVisibilityEnum PUBLIC
public static final JavaVisibilityEnum PRIVATE
public static final JavaVisibilityEnum PROTECTED
public static final JavaVisibilityEnum PACKAGE
public static JavaVisibilityEnum[] values()
for (JavaVisibilityEnum c : JavaVisibilityEnum.values()) System.out.println(c);
public static JavaVisibilityEnum valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String value()
public static JavaVisibilityEnum fromValue(java.lang.String v)