pops.ale.codec
Class Sgln96Codec

java.lang.Object
  extended by pops.ale.codec.EpcCodec
      extended by pops.ale.codec.Sgln96Codec

public class Sgln96Codec
extends EpcCodec


Field Summary
(package private)  byte[] tagData
           
 
Fields inherited from class pops.ale.codec.EpcCodec
boundaryLeftMasks, boundaryRightMasks, boundaryShifts, COMMON_HEADER, MSB_FIRST, MSB_LAST, SGLN_96_HEADER, SGTIN_96_HEADER
 
Constructor Summary
Sgln96Codec()
          default.
Sgln96Codec(PartitionTable partitionTable)
          Constructor
 
Method Summary
 void decodeTagData(byte[] tagData)
           
 long getCompanyPrefix()
           
 long getExtComponent()
           
 byte getFilterValue()
           
 int getLocationReference()
           
 byte getPartition()
           
 java.lang.String getPureUri()
          Converter to build an epc pure URI representation.
 java.lang.String getRawDecUri()
           
 java.lang.String getRawHexUri()
           
 java.lang.String getTagUri()
          Converter to build an epc tag URI representation.
static void main(java.lang.String[] args)
           
 
Methods inherited from class pops.ale.codec.EpcCodec
appendUri, ByteArrayToInt, ByteArrayToLong, byteToInt, byteToLong, convertToRawDecUri, convertToRawHexUri, decodeHeader, extractLongField, getCompanyPrefix, getEncodingScheme, getFilterValue, getItemReference, getPartition, getSerialNumber
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tagData

byte[] tagData
Constructor Detail

Sgln96Codec

public Sgln96Codec()
default. Constructor


Sgln96Codec

public Sgln96Codec(PartitionTable partitionTable)
Constructor

Parameters:
partitionTable -
Method Detail

decodeTagData

public void decodeTagData(byte[] tagData)

getPartition

public final byte getPartition()

getFilterValue

public final byte getFilterValue()

getCompanyPrefix

public long getCompanyPrefix()

getLocationReference

public int getLocationReference()

getExtComponent

public long getExtComponent()

getPureUri

public java.lang.String getPureUri()
Converter to build an epc pure URI representation.

Specified by:
getPureUri in class EpcCodec
Returns:
epc pure URI representation.

getTagUri

public java.lang.String getTagUri()
Converter to build an epc tag URI representation.

Specified by:
getTagUri in class EpcCodec
Returns:
epc tag URI representation.

getRawDecUri

public java.lang.String getRawDecUri()

getRawHexUri

public java.lang.String getRawHexUri()

main

public static void main(java.lang.String[] args)