net.sf.jasperreports.engine.query
Class JRClauseTokens

java.lang.Object
  extended by net.sf.jasperreports.engine.query.JRClauseTokens

public class JRClauseTokens
extends java.lang.Object

Query clause chunk wrapper.

Version:
$Id: JRClauseTokens.java 4595 2011-09-08 15:55:10Z teodord $
Author:
Lucian Chirita (lucianc@users.sourceforge.net)
See Also:
JRQueryChunk.getTokens(), JRQueryChunk.TYPE_CLAUSE_TOKENS

Constructor Summary
JRClauseTokens(java.lang.String[] tokens)
          Wraps an array of tokens.
 
Method Summary
 java.lang.String getToken(int position)
          Returns a token at a specified position.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JRClauseTokens

public JRClauseTokens(java.lang.String[] tokens)
Wraps an array of tokens.

Parameters:
tokens - the tokens
Method Detail

getToken

public java.lang.String getToken(int position)
Returns a token at a specified position.

If the specified position is greater than the number of tokens or the token is empty, the method returns null.

Parameters:
position - the position
Returns:
the token at the specified position


© 2001-2010 Jaspersoft Corporation www.jaspersoft.com