org.apache.openjpa.persistence.criteria
Interface CriteriaExpressionVisitor

All Known Implementing Classes:
CriteriaExpressionVisitor.AbstractVisitor, CriteriaExpressionVisitor.ParameterVisitor

public interface CriteriaExpressionVisitor

A visitor for Criteria Expression nodes.

Since:
2.0.0
Author:
Pinaki Poddar

Nested Class Summary
static class CriteriaExpressionVisitor.AbstractVisitor
          An abstract implementation that can detect cycles during traversal.
static class CriteriaExpressionVisitor.ParameterVisitor
          A visitor to register Parameter expression of a query.
static class CriteriaExpressionVisitor.TraversalStyle
           
 
Method Summary
 void enter(CriteriaExpression node)
          Enter the given node.
 void exit(CriteriaExpression node)
          Exit the given node.
 CriteriaExpressionVisitor.TraversalStyle getTraversalStyle(CriteriaExpression node)
          Get the traversal style of the children of the given node.
 boolean isVisited(CriteriaExpression node)
          Affirms if this node has been visited.
 

Method Detail

enter

void enter(CriteriaExpression node)
Enter the given node.


exit

void exit(CriteriaExpression node)
Exit the given node.


isVisited

boolean isVisited(CriteriaExpression node)
Affirms if this node has been visited.


getTraversalStyle

CriteriaExpressionVisitor.TraversalStyle getTraversalStyle(CriteriaExpression node)
Get the traversal style of the children of the given node.



Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.