IRevisionCriteria

public interface IRevisionCriteria

Implement this interface if you want to control when certain Revision should be accepted/rejected or not by the RevisionCollection.accept(com.aspose.words.IRevisionCriteria)/ RevisionCollection.reject(com.aspose.words.IRevisionCriteria) methods.

Methods

MethodDescription
isMatch(Revision revision)Checks whether or not specified revision matches criteria.

isMatch(Revision revision)

public abstract boolean isMatch(Revision revision)

Checks whether or not specified revision matches criteria.

Remarks:

The method implementation should not accept/reject the revision or modify it in any way due to unexpected results.

Parameters:

ParameterTypeDescription
revisionRevisionThe Revision instance to match criteria.

Returns: boolean - True if the revision matches criteria, otherwise False .