net.sf.jasperreports.engine.util
Interface JRQueryChunkHandler


public interface JRQueryChunkHandler

A query chunk handler.

Version:
$Id: JRQueryChunkHandler.java 3034 2009-08-27 11:58:04Z teodord $
Author:
Lucian Chirita ([email protected])
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


Copyright © 2011. All Rights Reserved.