EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

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

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.WithinInvalidExpressionVisitor
All Implemented Interfaces:
ExpressionVisitor
Enclosing class:
AbstractContentAssistVisitor

protected class AbstractContentAssistVisitor.WithinInvalidExpressionVisitor
extends AbstractTraverseParentVisitor


Field Summary
protected  boolean withinInvalidExpression
          Determines whether the visited Expression is an descendant of either a bad or invalid expression.
 
Constructor Summary
protected AbstractContentAssistVisitor.WithinInvalidExpressionVisitor()
           
 
Method Summary
 void dispose()
          Disposes of the internal data.
 boolean isWithinInvalidExpression()
          Determines whether the visited Expression is part of an invalid fragment
 void visit(BadExpression expression)
          Visits the BadExpression expression.
 void visit(UnknownExpression expression)
          Visits the UnknownExpression expression.
 
Methods inherited from class org.eclipse.persistence.jpa.jpql.parser.AbstractTraverseParentVisitor
visit, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

withinInvalidExpression

protected boolean withinInvalidExpression
Determines whether the visited Expression is an descendant of either a bad or invalid expression.

Constructor Detail

AbstractContentAssistVisitor.WithinInvalidExpressionVisitor

protected AbstractContentAssistVisitor.WithinInvalidExpressionVisitor()
Method Detail

dispose

public void dispose()
Disposes of the internal data.


isWithinInvalidExpression

public boolean isWithinInvalidExpression()
Determines whether the visited Expression is part of an invalid fragment

Returns:
true if the visited Expression is within an invalid fragment; false if it is not

visit

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

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

visit

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

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

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference