public enum SignatureUseType extends Enum<SignatureUseType>
Signature| Enum Constant and Description |
|---|
MANDATORY
Use type for a required signature
|
MANDATORY_IF_APPLICABLE
Use type for a conditionally required signature.
|
OPTIONAL
Use type for an optional signature.
|
| Modifier and Type | Field and Description |
|---|---|
String |
name
A String name for the type, used for reporting.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static SignatureUseType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SignatureUseType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SignatureUseType MANDATORY
public static final SignatureUseType MANDATORY_IF_APPLICABLE
public static final SignatureUseType OPTIONAL
public final String name
public static SignatureUseType[] values()
for (SignatureUseType c : SignatureUseType.values()) System.out.println(c);
public static SignatureUseType 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 toString()
toString in class Enum<SignatureUseType>Copyright © 2008–2021 The Open Preservation Foundation. All rights reserved.