EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

org.eclipse.persistence.jpa.jpql
Class AbstractValidator.BypassParentSubExpressionVisitor

java.lang.Object
  extended by org.eclipse.persistence.jpa.jpql.parser.AnonymousExpressionVisitor
      extended by org.eclipse.persistence.jpa.jpql.AbstractValidator.BypassParentSubExpressionVisitor
All Implemented Interfaces:
ExpressionVisitor
Enclosing class:
AbstractValidator

protected static class AbstractValidator.BypassParentSubExpressionVisitor
extends AnonymousExpressionVisitor

This visitor is responsible to traverse the parent hierarchy and to skip SubExpression if it's a parent.


Field Summary
 ExpressionVisitor visitor
          The ExpressionVisitor that will visit the Expression.
 
Constructor Summary
AbstractValidator.BypassParentSubExpressionVisitor()
          Creates a new BypassParentSubExpressionVisitor.
 
Method Summary
protected  void visit(Expression expression)
          Blindly visit the given Expression.
 void visit(SubExpression expression)
          Visits the SubExpression expression.
 
Methods inherited from class org.eclipse.persistence.jpa.jpql.parser.AnonymousExpressionVisitor
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

visitor

public ExpressionVisitor visitor
The ExpressionVisitor that will visit the Expression.

Constructor Detail

AbstractValidator.BypassParentSubExpressionVisitor

public AbstractValidator.BypassParentSubExpressionVisitor()
Creates a new BypassParentSubExpressionVisitor.

Method Detail

visit

protected void visit(Expression expression)
Blindly visit the given Expression.

Overrides:
visit in class AnonymousExpressionVisitor
Parameters:
expression - The Expression to visit

visit

public void visit(SubExpression expression)
Visits the SubExpression expression.

Specified by:
visit in interface ExpressionVisitor
Overrides:
visit in class AnonymousExpressionVisitor
Parameters:
expression - The Expression to visit

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference