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