Package net.sf.jasperreports.javascript
Class JavaScriptCompilerBase.ScriptExpressionVisitor
- java.lang.Object
-
- net.sf.jasperreports.javascript.JavaScriptCompilerBase.ScriptExpressionVisitor
-
- All Implemented Interfaces:
ExpressionChunkVisitor
- Enclosing class:
- JavaScriptCompilerBase
protected static class JavaScriptCompilerBase.ScriptExpressionVisitor extends Object implements ExpressionChunkVisitor
-
-
Field Summary
Fields Modifier and Type Field Description protected StringBuilder
script
-
Constructor Summary
Constructors Constructor Description ScriptExpressionVisitor(String fieldMethod, String variableMethod)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getScript()
void
visitFieldChunk(JRExpressionChunk chunk)
void
visitParameterChunk(JRExpressionChunk chunk)
void
visitResourceChunk(JRExpressionChunk chunk)
void
visitTextChunk(JRExpressionChunk chunk)
void
visitVariableChunk(JRExpressionChunk chunk)
-
-
-
Field Detail
-
script
protected final StringBuilder script
-
-
Method Detail
-
getScript
public String getScript()
-
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
-
-