de.javawi.jstun.attribute
Enum MessageAttributeInterface.MessageAttributeType

java.lang.Object
  extended by java.lang.Enum<MessageAttributeInterface.MessageAttributeType>
      extended by de.javawi.jstun.attribute.MessageAttributeInterface.MessageAttributeType
All Implemented Interfaces:
Serializable, Comparable<MessageAttributeInterface.MessageAttributeType>
Enclosing interface:
MessageAttributeInterface

public static enum MessageAttributeInterface.MessageAttributeType
extends Enum<MessageAttributeInterface.MessageAttributeType>


Enum Constant Summary
ChangedAddress
           
ChangeRequest
           
Dummy
           
ErrorCode
           
MappedAddress
           
MessageIntegrity
           
Password
           
ReflectedFrom
           
ResponseAddress
           
SourceAddress
           
UnknownAttribute
           
Username
           
 
Method Summary
static MessageAttributeInterface.MessageAttributeType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MessageAttributeInterface.MessageAttributeType[] 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

MappedAddress

public static final MessageAttributeInterface.MessageAttributeType MappedAddress

ResponseAddress

public static final MessageAttributeInterface.MessageAttributeType ResponseAddress

ChangeRequest

public static final MessageAttributeInterface.MessageAttributeType ChangeRequest

SourceAddress

public static final MessageAttributeInterface.MessageAttributeType SourceAddress

ChangedAddress

public static final MessageAttributeInterface.MessageAttributeType ChangedAddress

Username

public static final MessageAttributeInterface.MessageAttributeType Username

Password

public static final MessageAttributeInterface.MessageAttributeType Password

MessageIntegrity

public static final MessageAttributeInterface.MessageAttributeType MessageIntegrity

ErrorCode

public static final MessageAttributeInterface.MessageAttributeType ErrorCode

UnknownAttribute

public static final MessageAttributeInterface.MessageAttributeType UnknownAttribute

ReflectedFrom

public static final MessageAttributeInterface.MessageAttributeType ReflectedFrom

Dummy

public static final MessageAttributeInterface.MessageAttributeType Dummy
Method Detail

values

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

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

valueOf

public static MessageAttributeInterface.MessageAttributeType 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