org.jrdf.query.expression
Class ExpressionVisitorAdapter
java.lang.Object
org.jrdf.query.expression.ExpressionVisitorAdapter
- All Implemented Interfaces:
- ExpressionVisitor
- Direct Known Subclasses:
- NaiveQueryEngineImpl
public class ExpressionVisitorAdapter
- extends Object
- implements ExpressionVisitor
An adapter for ExpressionVisitor - allows an implementation to avoid having to implement all the methods.
Currently, these methods do nothing.
- Version:
- $Revision:$
- Author:
- Andrew Newman
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExpressionVisitorAdapter
public ExpressionVisitorAdapter()
visitProjection
public <V extends ExpressionVisitor> void visitProjection(Projection<V> projection)
- Specified by:
visitProjection
in interface ExpressionVisitor
visitConstraint
public <V extends ExpressionVisitor> void visitConstraint(Constraint<V> constraint)
- Specified by:
visitConstraint
in interface ExpressionVisitor
visitConjunction
public <V extends ExpressionVisitor> void visitConjunction(Conjunction<V> conjunction)
- Specified by:
visitConjunction
in interface ExpressionVisitor
visitUnion
public <V extends ExpressionVisitor> void visitUnion(Union<V> conjunction)
- Specified by:
visitUnion
in interface ExpressionVisitor
visitOptional
public <V extends ExpressionVisitor> void visitOptional(Optional<V> optional)
- Specified by:
visitOptional
in interface ExpressionVisitor