Package net.sf.jasperreports.engine.util
Class CompositeExpressionChunkVisitor
- java.lang.Object
-
- net.sf.jasperreports.engine.util.CompositeExpressionChunkVisitor
-
- All Implemented Interfaces:
ExpressionChunkVisitor
public class CompositeExpressionChunkVisitor extends Object implements ExpressionChunkVisitor
Composite expression chunk visitor.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Constructor Summary
Constructors Constructor Description CompositeExpressionChunkVisitor(ExpressionChunkVisitor... visitors)
Creates a composite visitor that uses a list of visitors.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
visitFieldChunk(JRExpressionChunk chunk)
void
visitParameterChunk(JRExpressionChunk chunk)
void
visitResourceChunk(JRExpressionChunk chunk)
void
visitTextChunk(JRExpressionChunk chunk)
void
visitVariableChunk(JRExpressionChunk chunk)
-
-
-
Constructor Detail
-
CompositeExpressionChunkVisitor
public CompositeExpressionChunkVisitor(ExpressionChunkVisitor... visitors)
Creates a composite visitor that uses a list of visitors.- Parameters:
visitors
- the list of visitors
-
-
Method Detail
-
visitTextChunk
public void visitTextChunk(JRExpressionChunk chunk)
- Specified by:
visitTextChunk
in interfaceExpressionChunkVisitor
-
visitParameterChunk
public void visitParameterChunk(JRExpressionChunk chunk)
- Specified by:
visitParameterChunk
in interfaceExpressionChunkVisitor
-
visitFieldChunk
public void visitFieldChunk(JRExpressionChunk chunk)
- Specified by:
visitFieldChunk
in interfaceExpressionChunkVisitor
-
visitVariableChunk
public void visitVariableChunk(JRExpressionChunk chunk)
- Specified by:
visitVariableChunk
in interfaceExpressionChunkVisitor
-
visitResourceChunk
public void visitResourceChunk(JRExpressionChunk chunk)
- Specified by:
visitResourceChunk
in interfaceExpressionChunkVisitor
-
-