Package net.sf.jasperreports.engine.util
Interface JRQueryChunkHandler
-
public interface JRQueryChunkHandler
A query chunk handler.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
JRQueryParser.parse(String, JRQueryChunkHandler)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handleClauseChunk(String[] tokens, char tokenSeparator)
Handle a clause chunk ($X{..}
).void
handleParameterChunk(String text)
Handle a parameter chunk ($P{..}
).void
handleParameterClauseChunk(String text)
Handle a parameter clause chunk ($P!{..}
).void
handleTextChunk(String text)
Handle a plain text query chunk.
-
-
-
Method Detail
-
handleTextChunk
void handleTextChunk(String text)
Handle a plain text query chunk.- Parameters:
text
- the text
-
handleParameterChunk
void handleParameterChunk(String text)
Handle a parameter chunk ($P{..}
).- Parameters:
text
- the chunk text, i.e. the parameter name
-
handleParameterClauseChunk
void handleParameterClauseChunk(String text)
Handle a parameter clause chunk ($P!{..}
).- Parameters:
text
- the chunk text, i.e. the parameter name
-
handleClauseChunk
void handleClauseChunk(String[] tokens, char tokenSeparator)
Handle a clause chunk ($X{..}
).- Parameters:
tokens
- the chunk tokenstokenSeparator
- the token separator character
-
-