Package net.sf.jasperreports.engine.util
Interface JRQueryChunkHandler
-
public interface JRQueryChunkHandlerA 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 voidhandleClauseChunk(String[] tokens, char tokenSeparator)Handle a clause chunk ($X{..}).voidhandleParameterChunk(String text)Handle a parameter chunk ($P{..}).voidhandleParameterClauseChunk(String text)Handle a parameter clause chunk ($P!voidhandleTextChunk(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
-
-