public enum AttributeUsage extends Enum<AttributeUsage>
| Enum Constant and Description |
|---|
Description |
DescriptionUrl |
Nonce |
Script |
| Modifier and Type | Method and Description |
|---|---|
byte |
value() |
static AttributeUsage |
valueOf(byte v) |
static AttributeUsage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AttributeUsage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AttributeUsage Nonce
public static final AttributeUsage Script
public static final AttributeUsage DescriptionUrl
public static final AttributeUsage Description
public static AttributeUsage[] values()
for (AttributeUsage c : AttributeUsage.values()) System.out.println(c);
public static AttributeUsage 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 byte value()
public static AttributeUsage valueOf(byte v)
Copyright © 2020. All rights reserved.