Nedap.HandheldApi
Public Member Functions | Static Public Member Functions | Properties
Nedap.EPC.TDT.TDTEngine Class Reference

This class provides methods for translating an electronic product code (EPC) between various levels of representation including BINARY, TAG_ENCODING, PURE_IDENTITY and LEGACY formats. An additional output level ONS_HOSTNAME may be defined for some coding schemes. /summary> More...

List of all members.

Public Member Functions

void Initialize ()
 Method that loads all schemes included on the resources.
void Initialize (XmlDefinitions[] definitions)
 Method that loads only selection of TDT library XML definitions included on the resources.

Static Public Member Functions

static string Translate (string epcIdentifier, string parameterList, string outputFormat)
 The 'Translate' method translates a String input to a specified outbound level of the same coding scheme. For example, the input string value may be a tag-encoding URI and the outbound level specified by string outboundlevel may be BINARY, in which case the return value is a binary representation expressed as a string. Note that this version of the method have input string parameter that contains additional parameters which are needed to be provided because they cannot always be determined from the input value alone and also output level type is in string format.
static string Translate (string epcIdentifier, LevelTypeList levelOutputType)
 The 'Translate' method translates a String input to a specified outbound level of the same coding scheme. For example, the input string value may be a tag-encoding URI and the outbound level specified by string outboundlevel may be BINARY, in which case the return value is a binary representation expressed as a string. Note that this version of the method have no additional parameters.
static string Translate (string epcIdentifier, Dictionary< string, string > data, LevelTypeList levelOutputType)
 The 'Translate' method translates a String input to a specified outbound level of the same coding scheme. For example, the input string value may be a tag-encoding URI and the outbound level specified by string outboundlevel may be BINARY, in which case the return value is a binary representation expressed as a string.
static void RefreshTranslations ()
 Raises exceptions for cases which are not implemented.

Properties

static TDTEngine UniqueInstance [get]
 Returns an instance of TDTEngine class.

Detailed Description

This class provides methods for translating an electronic product code (EPC) between various levels of representation including BINARY, TAG_ENCODING, PURE_IDENTITY and LEGACY formats. An additional output level ONS_HOSTNAME may be defined for some coding schemes. /summary>


Member Function Documentation

void Nedap.EPC.TDT.TDTEngine.Initialize ( )

Method that loads all schemes included on the resources.

void Nedap.EPC.TDT.TDTEngine.Initialize ( XmlDefinitions[]  definitions)

Method that loads only selection of TDT library XML definitions included on the resources.

Parameters:
definitionsArray of selected TDT library XML definitions
static void Nedap.EPC.TDT.TDTEngine.RefreshTranslations ( ) [static]

Raises exceptions for cases which are not implemented.

static string Nedap.EPC.TDT.TDTEngine.Translate ( string  epcIdentifier,
LevelTypeList  levelOutputType 
) [static]

The 'Translate' method translates a String input to a specified outbound level of the same coding scheme. For example, the input string value may be a tag-encoding URI and the outbound level specified by string outboundlevel may be BINARY, in which case the return value is a binary representation expressed as a string. Note that this version of the method have no additional parameters.

Parameters:
epcIdentifierThe EPC identifier to be converted
levelOutputTypeThe outbound level required for the ouput. Permitted values include BINARY, TAG_ENCODING, PURE_IDENTITY, LEGACY and ONS_HOSTNAME
Returns:
The identifier converted to the output level
static string Nedap.EPC.TDT.TDTEngine.Translate ( string  epcIdentifier,
Dictionary< string, string >  data,
LevelTypeList  levelOutputType 
) [static]

The 'Translate' method translates a String input to a specified outbound level of the same coding scheme. For example, the input string value may be a tag-encoding URI and the outbound level specified by string outboundlevel may be BINARY, in which case the return value is a binary representation expressed as a string.

Parameters:
epcIdentifierThe EPC identifier to be converted
dataDictionary that contains additional parameters which are needed to be provided because they cannot always be determined from the input value alone. Examples include the taglength, companyprefixlength and filter values.
levelOutputTypeThe outbound level required for the ouput. Permitted values include BINARY, TAG_ENCODING, PURE_IDENTITY, LEGACY and ONS_HOSTNAME
Returns:
The identifier converted to the output level
static string Nedap.EPC.TDT.TDTEngine.Translate ( string  epcIdentifier,
string  parameterList,
string  outputFormat 
) [static]

The 'Translate' method translates a String input to a specified outbound level of the same coding scheme. For example, the input string value may be a tag-encoding URI and the outbound level specified by string outboundlevel may be BINARY, in which case the return value is a binary representation expressed as a string. Note that this version of the method have input string parameter that contains additional parameters which are needed to be provided because they cannot always be determined from the input value alone and also output level type is in string format.

Parameters:
epcIdentifierThe EPC identifier to be converted
parameterListString that contains additional parameters which are needed to be provided because they cannot always be determined from the input value alone. Examples include the taglength, companyprefixlength and filter values.
outputFormatThe outbound level required for the ouput. Permitted values include BINARY, TAG_ENCODING, PURE_IDENTITY, LEGACY and ONS_HOSTNAME
Returns:
The identifier converted to the output level

Property Documentation

TDTEngine Nedap.EPC.TDT.TDTEngine.UniqueInstance [static, get]

Returns an instance of TDTEngine class.