eu.xtreemos.xosd.utilities.logger.storage
Interface ITokenStorage

All Known Implementing Classes:
SimpleTokenStorage

public interface ITokenStorage

allows: - add new token - get next token - get all tokens - get all tokens by type - count - has more tokens?

Author:
uros

Method Summary
 void add(IToken token)
           
 int countTokens()
           
 java.util.ArrayList<IToken> getAllTokens()
           
 java.util.ArrayList<IToken> getAllTokensOfType(java.lang.Class type)
           
 boolean hasMoreTokens()
           
 IToken nextToken()
           
 

Method Detail

add

void add(IToken token)

nextToken

IToken nextToken()

hasMoreTokens

boolean hasMoreTokens()

countTokens

int countTokens()

getAllTokens

java.util.ArrayList<IToken> getAllTokens()

getAllTokensOfType

java.util.ArrayList<IToken> getAllTokensOfType(java.lang.Class type)