org.apache.qpid.client
Enum AMQDestination.DestSyntax

java.lang.Object
  extended by java.lang.Enum<AMQDestination.DestSyntax>
      extended by org.apache.qpid.client.AMQDestination.DestSyntax
All Implemented Interfaces:
Serializable, Comparable<AMQDestination.DestSyntax>
Enclosing class:
AMQDestination

public static enum AMQDestination.DestSyntax
extends Enum<AMQDestination.DestSyntax>


Enum Constant Summary
ADDR
           
BURL
           
 
Method Summary
static AMQDestination.DestSyntax getSyntaxType(String s)
           
static AMQDestination.DestSyntax valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AMQDestination.DestSyntax[] 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

BURL

public static final AMQDestination.DestSyntax BURL

ADDR

public static final AMQDestination.DestSyntax ADDR
Method Detail

values

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

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

valueOf

public static AMQDestination.DestSyntax 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

getSyntaxType

public static AMQDestination.DestSyntax getSyntaxType(String s)


Licensed to the Apache Software Foundation