com.yosokumo.core
Enum Service.DIFType

java.lang.Object
  extended by java.lang.Enum<Service.DIFType>
      extended by com.yosokumo.core.Service.DIFType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Service.DIFType>
Enclosing class:
Service

public static enum Service.DIFType
extends java.lang.Enum<Service.DIFType>

Specifies the Data Interchange Format (DIF) of bytes transmitted to and from the Yosokumo server.


Enum Constant Summary
ASN_1
          Abstract Syntax Notation One
JSON
          JavaScript Object Notation
PROTOBUF
          Google Protocol Buffers
XML
          Extensible Markup Language
 
Method Summary
static Service.DIFType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Service.DIFType[] 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

PROTOBUF

public static final Service.DIFType PROTOBUF
Google Protocol Buffers


XML

public static final Service.DIFType XML
Extensible Markup Language


JSON

public static final Service.DIFType JSON
JavaScript Object Notation


ASN_1

public static final Service.DIFType ASN_1
Abstract Syntax Notation One

Method Detail

values

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

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

valueOf

public static Service.DIFType 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
java.lang.NullPointerException - if the argument is null