Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.sf.jasperreports.engine.query
Class JRClauseTokens

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

    public class JRClauseTokens

extends java.lang.Object

Query clause chunk wrapper.

Version:
  $Id: JRClauseTokens.java 3034 2009-08-27 11:58:04Z 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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

© 2001-2010 Jaspersoft Corporation www.jaspersoft.com