pl.bristleback.server.bristle.token
Interface TokenizerEngine

All Known Implementing Classes:
JsonTokenizerEngine

public interface TokenizerEngine

Classes implementing this interface are responsible for adding parameters to token. This interface does not determine details of this operation, neither restricts which objects must or must not be able to be processed by specific tokenizer class. Documentation of implementation should describe those details.

Created on: 2010-12-16 14:28:50

Author:
Wojciech Niemiec

Method Summary
 org.jwebsocket.token.Token tokenize(org.jwebsocket.token.Token token, boolean deepSearch, java.lang.String[] parameterNames, java.lang.Object[] values)
          Adds values to token with names given in Tokenize annotation.
 

Method Detail

tokenize

org.jwebsocket.token.Token tokenize(org.jwebsocket.token.Token token,
                                    boolean deepSearch,
                                    java.lang.String[] parameterNames,
                                    java.lang.Object[] values)
Adds values to token with names given in Tokenize annotation.

Parameters:
token - a token to fill.
deepSearch - can be used to indicate that
parameterNames - keys of token entries.
values - values to add.
Returns:
It should be the token given as parameter, so method should return this


Copyright © 2011. All Rights Reserved.