OrSearchCriteria

Inheritance: java.lang.Object, com.groupdocs.watermark.search.SearchCriteria

All Implemented Interfaces: com.groupdocs.watermark.internal.IBinaryOperation

public class OrSearchCriteria extends SearchCriteria implements IBinaryOperation

Represents OR composite search criteria.

Methods

Method Description
getLeft() Gets the left search criteria.
getRight() Gets the right search criteria.
isSatisfiedBy(PossibleWatermark candidate)
accept(ICriteriaVisitor visitor)

getLeft()

public final SearchCriteria getLeft()

Gets the left search criteria.

Returns: SearchCriteria - The left search criteria.

getRight()

public final SearchCriteria getRight()

Gets the right search criteria.

Returns: SearchCriteria - The right search criteria.

isSatisfiedBy(PossibleWatermark candidate)

public boolean isSatisfiedBy(PossibleWatermark candidate)

Parameters:

Parameter Type Description
candidate PossibleWatermark

Returns: boolean

accept(ICriteriaVisitor visitor)

public void accept(ICriteriaVisitor visitor)

Parameters:

Parameter Type Description
visitor ICriteriaVisitor