com.sun.xml.ws.policy.subject
Enum WsdlBindingSubject.WsdlMessageType
java.lang.Object
java.lang.Enum<WsdlBindingSubject.WsdlMessageType>
com.sun.xml.ws.policy.subject.WsdlBindingSubject.WsdlMessageType
- All Implemented Interfaces:
- Serializable, Comparable<WsdlBindingSubject.WsdlMessageType>
- Enclosing class:
- WsdlBindingSubject
public static enum WsdlBindingSubject.WsdlMessageType
- extends Enum<WsdlBindingSubject.WsdlMessageType>
For message subjects, this needs to be set to one of the values INPUT, OUTPUT
or FAULT. Any other subject has the message type NO_MESSAGE.
NO_MESSAGE
public static final WsdlBindingSubject.WsdlMessageType NO_MESSAGE
INPUT
public static final WsdlBindingSubject.WsdlMessageType INPUT
OUTPUT
public static final WsdlBindingSubject.WsdlMessageType OUTPUT
FAULT
public static final WsdlBindingSubject.WsdlMessageType FAULT
values
public static WsdlBindingSubject.WsdlMessageType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (WsdlBindingSubject.WsdlMessageType c : WsdlBindingSubject.WsdlMessageType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static WsdlBindingSubject.WsdlMessageType valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.