EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

org.eclipse.persistence.jpa.jpql
Class AbstractContentAssistVisitor.FollowingInvalidExpressionVisitor

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

protected class AbstractContentAssistVisitor.FollowingInvalidExpressionVisitor
extends AbstractTraverseParentVisitor


Field Summary
protected  Expression expression
          The Expression used to determine if it follows an invalid fragment or not.
protected  boolean followingInvalidExpression
          Determines whether the visited Expression is preceded by an invalid expression.
 
Constructor Summary
protected AbstractContentAssistVisitor.FollowingInvalidExpressionVisitor()
           
 
Method Summary
 void dispose()
          Disposes of the internal data.
 boolean isFollowingInvalidExpression()
          Determines whether the visited Expression is preceded by an invalid expression.
 void visit(CollectionExpression expression)
          Visits the CollectionExpression expression.
protected  void visit(Expression expression)
          Blindly visit the given Expression.
 
Methods inherited from class org.eclipse.persistence.jpa.jpql.parser.AbstractTraverseParentVisitor
visit
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

expression

protected Expression expression
The Expression used to determine if it follows an invalid fragment or not.


followingInvalidExpression

protected boolean followingInvalidExpression
Determines whether the visited Expression is preceded by an invalid expression.

Constructor Detail

AbstractContentAssistVisitor.FollowingInvalidExpressionVisitor

protected AbstractContentAssistVisitor.FollowingInvalidExpressionVisitor()
Method Detail

dispose

public void dispose()
Disposes of the internal data.


isFollowingInvalidExpression

public boolean isFollowingInvalidExpression()
Determines whether the visited Expression is preceded by an invalid expression.

Returns:
true if the visited Expression is part of a collection of expressions and an invalid expression precede it; false otherwise

visit

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

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

visit

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

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

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference