com.sun.xml.ws.policy.subject
Enum WsdlBindingSubject.WsdlMessageType

java.lang.Object
  extended by java.lang.Enum<WsdlBindingSubject.WsdlMessageType>
      extended by 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.


Enum Constant Summary
FAULT
           
INPUT
           
NO_MESSAGE
           
OUTPUT
           
 
Method Summary
static WsdlBindingSubject.WsdlMessageType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static WsdlBindingSubject.WsdlMessageType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.