Package com.mindee.parsing.custom
Class ListField
- java.lang.Object
-
- com.mindee.parsing.custom.ListField
-
public class ListField extends Object
A field containing a list of values.
-
-
Constructor Summary
Constructors Constructor Description ListField()ListField(double confidence, List<ListFieldValue> values)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)doublegetConfidence()The confidence about the zone of the value extracted.List<String>getContentsList()Get all the value contents.StringgetContentsString(String separator)Get all the joined value contents.List<ListFieldValue>getValues()List of defined values available in a field.inthashCode()booleanisEmpty()Returnstrueif there are no values.StringtoString()
-
-
-
Constructor Detail
-
ListField
public ListField()
-
ListField
public ListField(double confidence, List<ListFieldValue> values)
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
Returnstrueif there are no values.- Returns:
trueif there are no values.
-
getContentsList
public List<String> getContentsList()
Get all the value contents.- Returns:
- all the values as a list of strings.
-
getContentsString
public String getContentsString(String separator)
Get all the joined value contents.- Parameters:
separator- the separator to use between values.- Returns:
- all the values as a single string.
-
getConfidence
public double getConfidence()
The confidence about the zone of the value extracted. A value from 0 to 1.
-
getValues
public List<ListFieldValue> getValues()
List of defined values available in a field.
-
canEqual
protected boolean canEqual(Object other)
-
-