EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

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

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

protected class AbstractContentAssistVisitor.EncapsulatedExpressionVisitor
extends AnonymousExpressionVisitor


Field Summary
protected  boolean encapsulated
          Determines whether the visited Expression is being encapsulated or not.
protected  boolean visited
          Internal flag that prevent infinite recursion.
 
Constructor Summary
protected AbstractContentAssistVisitor.EncapsulatedExpressionVisitor()
           
 
Method Summary
 void dispose()
          Disposes of the internal data.
 boolean isEncapsulated()
          Determines whether the visited Expression is being encapsulated or not.
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

encapsulated

protected boolean encapsulated
Determines whether the visited Expression is being encapsulated or not.


visited

protected boolean visited
Internal flag that prevent infinite recursion.

Constructor Detail

AbstractContentAssistVisitor.EncapsulatedExpressionVisitor

protected AbstractContentAssistVisitor.EncapsulatedExpressionVisitor()
Method Detail

dispose

public void dispose()
Disposes of the internal data.


isEncapsulated

public boolean isEncapsulated()
Determines whether the visited Expression is being encapsulated or not.

Returns:
true if the visited Expression is within parenthesis; false otherwise

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