Parser Field

Defined in package com.scandit.datacapture.parser

ParsedField
class ParsedField

Added in version 6.1.0

name
@NonNull String getName()

Added in version 6.1.0

The name of the field.

parsed
@NonNull Object getParsed()

Added in version 6.1.0

The parsed data contained in this field. Depending on the field type, this returns a int, Map or String instance. Consult the field documentation for information on the type for the fields you are interested in.

rawString
@NonNull String getRawString()

Added in version 6.1.0

The raw string that represents this field in the input string/data.

issues
@NonNull List<@NonNull String> getIssues()

Added in version 6.1.0

The raw string that represents this field in the input string/data.

Deprecated since version 6.17.0: Use warnings instead.

warnings
@NonNull List<@NonNull ParserIssue> getWarnings()

Added in version 6.17.0

Warnings associated with this field