public enum SerializationContext extends Enum<SerializationContext>
| Enum Constant and Description |
|---|
ALL
Matches all the other contexts defined in
SerializationContext. |
MAINTENANCE
The context for serializing within the maintenance document framework.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(SerializationContext[] serializationContexts)
Does the given array of serializationContexts match this one?
|
static SerializationContext |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SerializationContext[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SerializationContext ALL
SerializationContext.public static final SerializationContext MAINTENANCE
public static SerializationContext[] values()
for (SerializationContext c : SerializationContext.values()) System.out.println(c);
public static SerializationContext 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 boolean matches(SerializationContext[] serializationContexts)
Either an exact match, or SerializationContext.ALL will suffice
serializationContexts - the serializationContexts to test againstCopyright © 2005–2014 The Kuali Foundation. All rights reserved.