org.eclipse.swordfish.internal.resolver.backend.base.wsdl
Enum Transport

java.lang.Object
  extended by java.lang.Enum<Transport>
      extended by org.eclipse.swordfish.internal.resolver.backend.base.wsdl.Transport
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Transport>

public enum Transport
extends java.lang.Enum<Transport>

Transport ENUM


Enum Constant Summary
HTTP
          HTTP Transport.
HTTPS
          HTTPS Transport.
JMS
          JMS Transport.
UNKNOWN
          Unknown or undefined Transport.
 
Method Summary
static Transport fromString(java.lang.String type)
          Conversion method.
 java.lang.String getType()
          Get access to transport type.
 java.lang.String toString()
          To string.
static Transport valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Transport[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

HTTP

public static final Transport HTTP
HTTP Transport.


HTTPS

public static final Transport HTTPS
HTTPS Transport.


JMS

public static final Transport JMS
JMS Transport.


UNKNOWN

public static final Transport UNKNOWN
Unknown or undefined Transport.

Method Detail

values

public static final Transport[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(Transport c : Transport.values())
        System.out.println(c);

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

valueOf

public static Transport valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

getType

public java.lang.String getType()
Get access to transport type.

Returns:
transport type

toString

public java.lang.String toString()
To string.

Overrides:
toString in class java.lang.Enum<Transport>
Returns:
the string
See Also:
Object.toString()

fromString

public static Transport fromString(java.lang.String type)
Conversion method.

Parameters:
type - transport type name.
Returns:
corresponding Transport, UNKNOWN as default.