SearchCriteria

Inheritance: java.lang.Object

public abstract class SearchCriteria

Class that can be used to construct criteria when searching for watermarks.

Methods

Method Description
and(SearchCriteria other) Combines this [SearchCriteria](../../com.groupdocs.watermark.search/searchcriteria) with other criteria using logical AND operator.
or(SearchCriteria other) Combines this [SearchCriteria](../../com.groupdocs.watermark.search/searchcriteria) with other criteria using logical OR operator.
not() Negates this [SearchCriteria](../../com.groupdocs.watermark.search/searchcriteria).
isSatisfiedBy(PossibleWatermark candidate)
accept(ICriteriaVisitor visitor)

and(SearchCriteria other)

public final SearchCriteria and(SearchCriteria other)

Combines this [SearchCriteria](../../com.groupdocs.watermark.search/searchcriteria) with other criteria using logical AND operator.

Parameters:

Parameter Type Description
other SearchCriteria Search criteria to combine with.

Returns: SearchCriteria - Combined search criteria.

or(SearchCriteria other)

public final SearchCriteria or(SearchCriteria other)

Combines this [SearchCriteria](../../com.groupdocs.watermark.search/searchcriteria) with other criteria using logical OR operator.

Parameters:

Parameter Type Description
other SearchCriteria Search criteria to combine with.

Returns: SearchCriteria - Combined search criteria.

not()

public final SearchCriteria not()

Negates this [SearchCriteria](../../com.groupdocs.watermark.search/searchcriteria).

Returns: SearchCriteria - Combined search criteria.

isSatisfiedBy(PossibleWatermark candidate)

public abstract boolean isSatisfiedBy(PossibleWatermark candidate)

Parameters:

Parameter Type Description
candidate PossibleWatermark

Returns: boolean

accept(ICriteriaVisitor visitor)

public abstract void accept(ICriteriaVisitor visitor)

Parameters:

Parameter Type Description
visitor ICriteriaVisitor