package com.kofax.mobile.sdk.x; import com.kofax.kmc.ken.engines.data.BarCodeResult; import com.kofax.mobile.sdk.extract.id.DataField; import com.kofax.mobile.sdk.w.h; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import o.InterfaceC13391fZD; /* loaded from: classes3.dex */ public class aa implements h.a { @InterfaceC13391fZD public aa() { } @Override // com.kofax.mobile.sdk.w.h.a public String e(com.kofax.mobile.sdk.e.a aVar) { return aVar.ht(); } @Override // com.kofax.mobile.sdk.w.h.a public String f(com.kofax.mobile.sdk.e.a aVar) { com.kofax.mobile.sdk.c.a hv = aVar.hv(); if (hv == null) { return null; } return hv.getClassId(); } @Override // com.kofax.mobile.sdk.w.h.a public List h(com.kofax.mobile.sdk.e.a aVar) { List hE = aVar.hE(); return hE != null ? hE : new ArrayList(); } @Override // com.kofax.mobile.sdk.w.h.a public void a(com.kofax.mobile.sdk.e.a aVar, List> list, List list2) { aVar.g(list); if (list2 == null || (list2.size() == 0 && list != null)) { aVar.n(true); } Iterator it = list2.iterator(); while (it.hasNext()) { aVar.a(it.next()); } } }