public static enum MessagePart.PartType extends Enum<MessagePart.PartType>
| Enum Constant and Description | 
|---|
| ATTACHMENT | 
| CONTENT | 
| FAULT | 
| HEADER | 
| PARAMETER | 
| Modifier and Type | Method and Description | 
|---|---|
| static MessagePart.PartType | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static MessagePart.PartType[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final MessagePart.PartType HEADER
public static final MessagePart.PartType CONTENT
public static final MessagePart.PartType ATTACHMENT
public static final MessagePart.PartType FAULT
public static final MessagePart.PartType PARAMETER
public static MessagePart.PartType[] values()
for (MessagePart.PartType c : MessagePart.PartType.values()) System.out.println(c);
public static MessagePart.PartType 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 © 2019. All Rights Reserved.