eu.xenit.apix.search.visitors.BaseSearchSyntaxNodeVisitor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of apix-interface Show documentation
Show all versions of apix-interface Show documentation
Xenit API-X Java interface
package eu.xenit.apix.search.visitors;
import eu.xenit.apix.search.nodes.InvertSearchNode;
import eu.xenit.apix.search.nodes.OperatorSearchNode;
import eu.xenit.apix.search.nodes.PropertySearchNode;
import eu.xenit.apix.search.nodes.SearchSyntaxNode;
import eu.xenit.apix.search.nodes.TermSearchNode;
/**
* Abstract class that is a default "return null" implementation for ISearchSyntaxVisitor.
*/
public abstract class BaseSearchSyntaxNodeVisitor implements ISearchSyntaxVisitor {
public T visit(SearchSyntaxNode node) {
return node.accept(this);
}
@Override
public T visit(OperatorSearchNode n) {
return null;
}
@Override
public T visit(PropertySearchNode n) {
return null;
}
@Override
public T visit(TermSearchNode n) {
return null;
}
//@Override
//public T visit(RangeValue n) {
// return null;
//}
@Override
public T visit(InvertSearchNode invertSearchNode) {
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy