public static class

GS1Parser.GS1Field

extends Object
java.lang.Object
   ↳ com.datalogic.decode.utils.GS1Parser.GS1Field

Class Overview

Class representing a single GS1 field, comprised of application identifier and associated value.

Summary

Public Methods
String getApplicationIdentifier()
Gets the application identifier.
String getDataTitle()
Gets the data title associated with this GS1 field
String getGenericApplicationIdentifier()
Gets the generic application identifier.
Object getParsedValue()
Gets the value parsed depending on the specific Application Identifier.
String getValue()
Gets the string value for this field.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public String getApplicationIdentifier ()

Added in revision 32

Gets the application identifier.

Returns
  • The application identifier.

public String getDataTitle ()

Added in revision 32

Gets the data title associated with this GS1 field

Returns
  • The data title.

public String getGenericApplicationIdentifier ()

Added in revision 32

Gets the generic application identifier. This is usually equals to the application identifier but it is different for all identifiers that include a decimal point position (application identifier ending with 'n') or a sequence number (application identifier ending with 's').

Returns
  • The generic application identifier.

public Object getParsedValue ()

Added in revision 32

Gets the value parsed depending on the specific Application Identifier. If no parsing is available for this field, null is returned.

Returns
  • The parsed field value.

public String getValue ()

Added in revision 32

Gets the string value for this field.

Returns
  • The field value as string.