Interface TemplatingClassifier
- All Superinterfaces:
android.os.Parcelable
public interface TemplatingClassifier
extends android.os.Parcelable
Classifier that should return true if document belongs to given
TemplatingClass
.-
Nested Class Summary
-
Field Summary
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
Method Summary
Modifier and TypeMethodDescriptionboolean
classify
(TemplatingClass currentTemplatingClass) This method is invoked while evaluating specificTemplatingClass
.Methods inherited from interface android.os.Parcelable
describeContents, writeToParcel
-
Method Details
-
classify
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
-