public enum OutputContext extends Enum<OutputContext>
Determines in which output context the formatting is to be performed.
Attributes.OUTPUT_CONTEXT| Enum Constant and Description |
|---|
FORMAT
Standard format context (for example weekday names within a
formatted calendar date).
|
STANDALONE
Stand-alone-output (for example weekday names as column headers in
a month calendar).
|
| Modifier and Type | Method and Description |
|---|---|
static OutputContext |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OutputContext[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OutputContext FORMAT
Standard format context (for example weekday names within a formatted calendar date).
public static final OutputContext STANDALONE
Stand-alone-output (for example weekday names as column headers in a month calendar).
public static OutputContext[] values()
for (OutputContext c : OutputContext.values()) System.out.println(c);
public static OutputContext 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 nullCopyright © 2014–2015. All rights reserved.