com.sun.xml.ws.dump
Enum MessageDumper.MessageType

java.lang.Object
  extended by java.lang.Enum<MessageDumper.MessageType>
      extended by com.sun.xml.ws.dump.MessageDumper.MessageType
All Implemented Interfaces:
Serializable, Comparable<MessageDumper.MessageType>
Enclosing class:
MessageDumper

static enum MessageDumper.MessageType
extends Enum<MessageDumper.MessageType>


Enum Constant Summary
Exception
           
Request
           
Response
           
 
Method Summary
 String toString()
           
static MessageDumper.MessageType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MessageDumper.MessageType[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Request

public static final MessageDumper.MessageType Request

Response

public static final MessageDumper.MessageType Response

Exception

public static final MessageDumper.MessageType Exception
Method Detail

values

public static MessageDumper.MessageType[] 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 (MessageDumper.MessageType c : MessageDumper.MessageType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static MessageDumper.MessageType 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

toString

public String toString()
Overrides:
toString in class Enum<MessageDumper.MessageType>


Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.