Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.connecterra.alepc.api
Interface LiteralDataSpec

All Superinterfaces:
  DataSpec

All Known Implementing Classes:
  EngineLiteralDataSpec

public interface LiteralDataSpec
extends DataSpec

Specifies a static, literal value, as either data to be written to a tag, or a password to gain access a tag's capabilities.

A LiteralDataSpec is created through the `#ALEPCFactory`, using the createLiteralDataSpec method.

Method Summary
`java.net.URI` | `getValue()` Return the literal value to use as data.

Method Detail

### getValue

    public java.net.URI getValue()

  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.

  Returns:
    the literal value to use as data

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD