com.aspose.words
Interface 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.

Method Summary
abstract booleanisMatch(Revision revision)
           Checks whether or not specified revision matches criteria.
 

Method Detail

isMatch

public abstract boolean isMatch(Revision revision)
                             throws java.lang.Exception
Checks whether or not specified revision matches criteria. The method implementation should not accept/reject the revision or modify it in any way due to unexpected results.
Parameters:
revision - The Revision instance to match criteria.
Returns:
True if the revision matches criteria, otherwise False.

See Also:
          Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
          Aspose.Words Support Forum - our preferred method of support.