Interface FullTextVisitor
-
- All Known Implementing Classes:
FullTextVisitor.FullTextVisitorBase
public interface FullTextVisitor
A visitor for full-text expressions. This class is abstract because at least one of the methods needs to be implemented to make anything useful, most likely visit(FullTextTerm).
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
FullTextVisitor.FullTextVisitorBase
The base implementation of a full-text visitor.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
visit(FullTextAnd and)
Visit an "and" expression.boolean
visit(FullTextContains contains)
Visit an "contains" expression.boolean
visit(FullTextOr or)
Visit an "or" expression.boolean
visit(FullTextTerm term)
Visit a term
-
-
-
Method Detail
-
visit
boolean visit(FullTextContains contains)
Visit an "contains" expression.- Parameters:
contains
- the "contains" expression- Returns:
- true if visiting should continue
-
visit
boolean visit(FullTextAnd and)
Visit an "and" expression.- Parameters:
and
- the "and" expression- Returns:
- true if visiting should continue
-
visit
boolean visit(FullTextOr or)
Visit an "or" expression.- Parameters:
or
- the "or" expression- Returns:
- true if visiting should continue
-
visit
boolean visit(FullTextTerm term)
Visit a term- Parameters:
term
- the term- Returns:
- true if visiting should continue
-
-