Interface TemplatingClassifier
-
- All Superinterfaces:
android.os.Parcelable
public interface TemplatingClassifier extends android.os.Parcelable
Classifier that should return true if document belongs to givenTemplatingClass
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
classify(TemplatingClass currentTemplatingClass)
This method is invoked while evaluating specificTemplatingClass
.
-
-
-
Method Detail
-
classify
@WorkerThread boolean classify(@NonNull TemplatingClass currentTemplatingClass)
This method is invoked while evaluating specificTemplatingClass
. First, all processors within classification processor groups are executed. Then this method is invoked to determine whether non-classification processor groups should also be executed. If this method returns false, then non-classification processor groups will not be executed and evaluation will continue to nextTemplatingClass
withinTemplatingRecognizer
.- Parameters:
currentTemplatingClass
-TemplatingClass
that is currently being evaluated- Returns:
- true if document belongs to this
TemplatingClass
, false otherwise
-
-