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(org.apache.openjpa.persistence.criteria.CriteriaExpression node)
          Enter the given node.
 void exit(org.apache.openjpa.persistence.criteria.CriteriaExpression node)
          Exit the given node.
 CriteriaExpressionVisitor.TraversalStyle getTraversalStyle(org.apache.openjpa.persistence.criteria.CriteriaExpression node)
          Get the traversal style of the children of the given node.
 boolean isVisited(org.apache.openjpa.persistence.criteria.CriteriaExpression node)
          Affirms if this node has been visited.
 

Method Detail

enter

void enter(org.apache.openjpa.persistence.criteria.CriteriaExpression node)
Enter the given node.


exit

void exit(org.apache.openjpa.persistence.criteria.CriteriaExpression node)
Exit the given node.


isVisited

boolean isVisited(org.apache.openjpa.persistence.criteria.CriteriaExpression node)
Affirms if this node has been visited.


getTraversalStyle

CriteriaExpressionVisitor.TraversalStyle getTraversalStyle(org.apache.openjpa.persistence.criteria.CriteriaExpression node)
Get the traversal style of the children of the given node.



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