net.sf.jasperreports.engine.util
Interface JRQueryChunkHandler


public interface JRQueryChunkHandler

A query chunk handler.

Version:
$Id: JRQueryChunkHandler.java 1683 2007-03-29 16:04:15Z lucianc $
Author:
Lucian Chirita (lucianc@users.sourceforge.net)
See Also:
JRQueryParser.parse(String, JRQueryChunkHandler)

Method Summary
 void handleClauseChunk(java.lang.String[] tokens)
          Handle a clause chunk ($X{..}).
 void handleParameterChunk(java.lang.String text)
          Handle a parameter chunk ($P{..}).
 void handleParameterClauseChunk(java.lang.String text)
          Handle a parameter clause chunk ($P!{..}).
 void handleTextChunk(java.lang.String text)
          Handle a plain text query chunk.
 

Method Detail

handleTextChunk

void handleTextChunk(java.lang.String text)
Handle a plain text query chunk.

Parameters:
text - the text

handleParameterChunk

void handleParameterChunk(java.lang.String text)
Handle a parameter chunk ($P{..}).

Parameters:
text - the chunk text, i.e. the parameter name

handleParameterClauseChunk

void handleParameterClauseChunk(java.lang.String text)
Handle a parameter clause chunk ($P!{..}).

Parameters:
text - the chunk text, i.e. the parameter name

handleClauseChunk

void handleClauseChunk(java.lang.String[] tokens)
Handle a clause chunk ($X{..}).

Parameters:
tokens - the chunk tokens


© 2001-2006 JasperSoft Corporation www.jaspersoft.com