org.fosstrak.hal.transponder
Enum TransponderType

java.lang.Object
  extended by java.lang.Enum<TransponderType>
      extended by org.fosstrak.hal.transponder.TransponderType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TransponderType>

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


Enum Constant Summary
EM4222
           
EPCclass0Gen1
           
EPCclass1Gen1
           
EPCclass1Gen2
           
ICode1
           
ICodeEPC
           
ICodeUID
           
ISO15693
           
ISO18000_6A
           
ISO18000_6B
           
TagItHF
           
UNKNOWN
           
 
Method Summary
 int code()
           
 int dataSize()
           
static TransponderType getType(byte trType)
           
static TransponderType getType(java.lang.String trTypeName)
           
static TransponderType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TransponderType[] 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

ICode1

public static final TransponderType ICode1

TagItHF

public static final TransponderType TagItHF

ISO15693

public static final TransponderType ISO15693

ICodeEPC

public static final TransponderType ICodeEPC

ICodeUID

public static final TransponderType ICodeUID

ISO18000_6A

public static final TransponderType ISO18000_6A

ISO18000_6B

public static final TransponderType ISO18000_6B

EM4222

public static final TransponderType EM4222

EPCclass1Gen2

public static final TransponderType EPCclass1Gen2

EPCclass0Gen1

public static final TransponderType EPCclass0Gen1

EPCclass1Gen1

public static final TransponderType EPCclass1Gen1

UNKNOWN

public static final TransponderType UNKNOWN
Method Detail

values

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

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

valueOf

public static TransponderType 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

code

public int code()

dataSize

public int dataSize()

getType

public static TransponderType getType(byte trType)

getType

public static TransponderType getType(java.lang.String trTypeName)


Copyright © 2008. All Rights Reserved.