public enum SerializationContext extends Enum<SerializationContext>
| Enum Constant and Description | 
|---|
| ALLMatches all the other contexts defined in  SerializationContext. | 
| MAINTENANCEThe 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–2015 The Kuali Foundation. All rights reserved.