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 TypeMethodDescriptionvoid
handleClauseChunk
(String[] tokens, char tokenSeparator) Handle a clause chunk ($X{..}
).void
handleParameterChunk
(String text) Handle a parameter chunk ($P{..}
).void
Handle a parameter clause chunk ($P!{..}
).void
handleTextChunk
(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
-