com.ibm.rfid.epc.datahandler
Class DataHandlerCreator

java.lang.Object
  extended by com.ibm.rfid.epc.datahandler.DataHandlerCreator

public class DataHandlerCreator
extends java.lang.Object


Field Summary
static java.lang.String COPYRIGHT
           
static java.util.Hashtable dataHandlerFactories
           
 
Constructor Summary
DataHandlerCreator()
           
 
Method Summary
static DataHandler createDataHandler(java.lang.String name, java.lang.String value, int companyprefixLength, java.lang.String encodingType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values

dataHandlerFactories

public static java.util.Hashtable dataHandlerFactories
Constructor Detail

DataHandlerCreator

public DataHandlerCreator()
Method Detail

createDataHandler

public static DataHandler createDataHandler(java.lang.String name,
                                            java.lang.String value,
                                            int companyprefixLength,
                                            java.lang.String encodingType)
                                     throws DataHandlerNotCreatedException
Parameters:
string - name of a defined input type
string - input data with which to initialize the DataHandler
integer - length of the company prefix portion of the input data
string - encoding type for this data handler
Returns:
instance of DataHandler for the specified input type and input data
Throws:
DataHandlerNotCreated - if the specified input type or the specified input data is not valid
DataHandlerNotCreatedException


Copyright © 2005 - 2009 IBM Corp. All Rights Reserved.