Top Description Fields Constructors Methods
org.eclipse.persistence.jpa.jpql.parser

public abstract Class ExpressionVisitorWrapper

extends AnonymousExpressionVisitor
Class Inheritance
Annotations
@SuppressWarnings:nls

This ExpressionVisitor wraps another ExpressionVisitor and delegates all its calls to it (the delegate).
Author
Pascal Filion
Since
2.3
Version
2.4

Field Summary

Modifier and TypeField and Description
private final ExpressionVisitor
delegate

The ExpressionVisitor that will have the calls delegated from this one.

Constructor Summary

AccessConstructor and Description
private
ExpressionVisitorWrapper()

Creates a new ExpressionVisitorWrapper.

protected
ExpressionVisitorWrapper(ExpressionVisitor
The ExpressionVisitor that will have the calls delegated from this one
delegate
)

Creates a new ExpressionVisitorWrapper.

Method Summary

Modifier and TypeMethod and Description
protected ExpressionVisitor

Returns:

The delegate ExpressionVisitor
getDelegate
()

Returns the delegate ExpressionVisitor that is receiving all the calls from this one.

protected void
Inherited from org.eclipse.persistence.jpa.jpql.parser.AnonymousExpressionVisitor:
visitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisitvisit

Field Detail

delegateback to summary
private final ExpressionVisitor delegate

The ExpressionVisitor that will have the calls delegated from this one.

Constructor Detail

ExpressionVisitorWrapperback to summary
private ExpressionVisitorWrapper()

Creates a new ExpressionVisitorWrapper.

Annotations
@SuppressWarnings:unused
ExpressionVisitorWrapperback to summary
protected ExpressionVisitorWrapper(ExpressionVisitor delegate)

Creates a new ExpressionVisitorWrapper.

Parameters
delegate:ExpressionVisitor

The ExpressionVisitor that will have the calls delegated from this one

Exceptions
NullPointerException:
The delegate ExpressionVisitor cannot be null

Method Detail

getDelegateback to summary
protected ExpressionVisitor getDelegate()

Returns the delegate ExpressionVisitor that is receiving all the calls from this one.

Returns:ExpressionVisitor

The delegate ExpressionVisitor

visitback to summary
protected void visit(Expression expression)

Overrides org.eclipse.persistence.jpa.jpql.parser.AnonymousExpressionVisitor.visit.

Doc from org.eclipse.persistence.jpa.jpql.parser.AnonymousExpressionVisitor.visit.

Blindly visit the given Expression.

Parameters
expression:Expression

The Expression to visit

Annotations
@Override