com.connecterra.ale.alevent.impl
Class EngineLiteralDataSpec

java.lang.Object
  extended bycom.connecterra.ale.alevent.impl.EngineLiteralDataSpec
All Implemented Interfaces:
DataSpec, LiteralDataSpec

public class EngineLiteralDataSpec
extends java.lang.Object
implements LiteralDataSpec


Method Summary
 java.net.URI getValue()
          Return the literal value to use as data.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getValue

public java.net.URI getValue()
Description copied from interface: LiteralDataSpec
Return the literal value to use as data. This should be an EPC URI, usually a raw URI of 64-, 96-, or 128 bits. There is a limitation in the EPC raw format limiting it to those lengths. Accordingly, the reader driver should use the context in which the data is being used to determine the desired length of the data to be used, rather than the length of the data specified by the URI. Data placed in a too-long URI should be right-justified, so a 16-bit value 0xff could be represented as urn:epc:raw:64.xFF.

Specified by:
getValue in interface LiteralDataSpec
Returns:
the literal value to use as data