站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 server API Documentation 英文版文档

BasicVisitor (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档


org.jboss.ejb.plugins.cmp.ejbql
Class BasicVisitor

java.lang.Object
  extended byorg.jboss.ejb.plugins.cmp.ejbql.BasicVisitor
Direct Known Subclasses:
JDBCEJBQLCompiler

public class BasicVisitor
extends Object

This a basic abstract syntax tree visitor. It simply converts the tree back into ejbql. This is useful for testing and extensions, as most extensions translate just a few elements of the tree.

Version:
$Revision: 1.10 $
Author:
Dain Sundstrom

Constructor Summary
BasicVisitor()
           
 
Method Summary
 Object visit(ASTAbs node, Object data)
           
 Object visit(ASTAbstractSchema node, Object data)
           
 Object visit(ASTAnd node, Object data)
           
 Object visit(ASTApproximateNumericLiteral node, Object data)
           
 Object visit(ASTArithmeticComparison node, Object data)
           
 Object visit(ASTArithmeticParenthetical node, Object data)
           
 Object visit(ASTAvg node, Object data)
           
 Object visit(ASTBetween node, Object data)
           
 Object visit(ASTBooleanComparison node, Object data)
           
 Object visit(ASTBooleanLiteral node, Object data)
           
 Object visit(ASTCollectionMemberDeclaration node, Object data)
           
 Object visit(ASTConcat node, Object data)
           
 Object visit(ASTConditionalParenthetical node, Object data)
           
 Object visit(ASTCount node, Object data)
           
 Object visit(ASTDatetimeComparison node, Object data)
           
 Object visit(ASTEJBQL node, Object data)
           
 Object visit(ASTEntityComparison node, Object data)
           
 Object visit(ASTExactNumericLiteral node, Object data)
           
 Object visit(ASTFrom node, Object data)
           
 Object visit(ASTIdentifier node, Object data)
           
 Object visit(ASTIn node, Object data)
           
 Object visit(ASTIsEmpty node, Object data)
           
 Object visit(ASTLCase node, Object data)
           
 Object visit(ASTLength node, Object data)
           
 Object visit(ASTLike node, Object data)
           
 Object visit(ASTLimitOffset node, Object data)
           
 Object visit(ASTLocate node, Object data)
           
 Object visit(ASTMax node, Object data)
           
 Object visit(ASTMemberOf node, Object data)
           
 Object visit(ASTMin node, Object data)
           
 Object visit(ASTMod node, Object data)
           
 Object visit(ASTMultDiv node, Object data)
           
 Object visit(ASTNegation node, Object data)
           
 Object visit(ASTNot node, Object data)
           
 Object visit(ASTNullComparison node, Object data)
           
 Object visit(ASTOrderBy node, Object data)
           
 Object visit(ASTOrderByPath node, Object data)
           
 Object visit(ASTOr node, Object data)
           
 Object visit(ASTParameter node, Object data)
           
 Object visit(ASTPath node, Object data)
           
 Object visit(ASTPlusMinus node, Object data)
           
 Object visit(ASTRangeVariableDeclaration node, Object data)
           
 Object visit(ASTSelect node, Object data)
           
 Object visit(ASTSqrt node, Object data)
           
 Object visit(ASTStringComparison node, Object data)
           
 Object visit(ASTStringLiteral node, Object data)
           
 Object visit(ASTStringParenthetical node, Object data)
           
 Object visit(ASTSubstring node, Object data)
           
 Object visit(ASTSum node, Object data)
           
 Object visit(ASTUCase node, Object data)
           
 Object visit(ASTValueClassComparison node, Object data)
           
 Object visit(ASTWhereConditionalTerm node, Object data)
           
 Object visit(ASTWhere node, Object data)
           
 Object visit(SimpleNode node, Object data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicVisitor

public BasicVisitor()
Method Detail

visit

public Object visit(SimpleNode node,
                    Object data)

visit

public Object visit(ASTEJBQL node,
                    Object data)

visit

public Object visit(ASTFrom node,
                    Object data)

visit

public Object visit(ASTCollectionMemberDeclaration node,
                    Object data)

visit

public Object visit(ASTRangeVariableDeclaration node,
                    Object data)

visit

public Object visit(ASTSelect node,
                    Object data)

visit

public Object visit(ASTWhere node,
                    Object data)

visit

public Object visit(ASTOr node,
                    Object data)

visit

public Object visit(ASTWhereConditionalTerm node,
                    Object data)

visit

public Object visit(ASTAnd node,
                    Object data)

visit

public Object visit(ASTNot node,
                    Object data)

visit

public Object visit(ASTConditionalParenthetical node,
                    Object data)

visit

public Object visit(ASTBetween node,
                    Object data)

visit

public Object visit(ASTIn node,
                    Object data)

visit

public Object visit(ASTLike node,
                    Object data)

visit

public Object visit(ASTNullComparison node,
                    Object data)

visit

public Object visit(ASTIsEmpty node,
                    Object data)

visit

public Object visit(ASTMemberOf node,
                    Object data)

visit

public Object visit(ASTStringComparison node,
                    Object data)

visit

public Object visit(ASTBooleanComparison node,
                    Object data)

visit

public Object visit(ASTDatetimeComparison node,
                    Object data)

visit

public Object visit(ASTEntityComparison node,
                    Object data)

visit

public Object visit(ASTValueClassComparison node,
                    Object data)

visit

public Object visit(ASTArithmeticComparison node,
                    Object data)

visit

public Object visit(ASTPlusMinus node,
                    Object data)

visit

public Object visit(ASTMultDiv node,
                    Object data)

visit

public Object visit(ASTNegation node,
                    Object data)

visit

public Object visit(ASTArithmeticParenthetical node,
                    Object data)

visit

public Object visit(ASTStringParenthetical node,
                    Object data)

visit

public Object visit(ASTConcat node,
                    Object data)

visit

public Object visit(ASTSubstring node,
                    Object data)

visit

public Object visit(ASTLCase node,
                    Object data)

visit

public Object visit(ASTUCase node,
                    Object data)

visit

public Object visit(ASTLength node,
                    Object data)

visit

public Object visit(ASTLocate node,
                    Object data)

visit

public Object visit(ASTAbs node,
                    Object data)

visit

public Object visit(ASTSqrt node,
                    Object data)

visit

public Object visit(ASTCount node,
                    Object data)

visit

public Object visit(ASTMax node,
                    Object data)

visit

public Object visit(ASTMin node,
                    Object data)

visit

public Object visit(ASTAvg node,
                    Object data)

visit

public Object visit(ASTSum node,
                    Object data)

visit

public Object visit(ASTOrderBy node,
                    Object data)

visit

public Object visit(ASTOrderByPath node,
                    Object data)

visit

public Object visit(ASTPath node,
                    Object data)

visit

public Object visit(ASTIdentifier node,
                    Object data)

visit

public Object visit(ASTAbstractSchema node,
                    Object data)

visit

public Object visit(ASTParameter node,
                    Object data)

visit

public Object visit(ASTExactNumericLiteral node,
                    Object data)

visit

public Object visit(ASTApproximateNumericLiteral node,
                    Object data)

visit

public Object visit(ASTStringLiteral node,
                    Object data)

visit

public Object visit(ASTBooleanLiteral node,
                    Object data)

visit

public Object visit(ASTLimitOffset node,
                    Object data)

visit

public Object visit(ASTMod node,
                    Object data)


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.