org.eobjects.metamodel.query.parser
Class QueryPartCollectionProcessor
java.lang.Object
org.eobjects.metamodel.query.parser.QueryPartCollectionProcessor
- All Implemented Interfaces:
- QueryPartProcessor
public class QueryPartCollectionProcessor
- extends Object
- implements QueryPartProcessor
Simple implementation of QueryPartProcessor which simply adds all
elements to a collection. Use getTokens() to retrieve the 'processed'
tokens and getDelims() for the corresponding delimitors.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryPartCollectionProcessor
public QueryPartCollectionProcessor()
parse
public void parse(String delim,
String token)
- Description copied from interface:
QueryPartProcessor
- Method invoked whenever the
QueryPartParser identifies a token.
- Specified by:
parse in interface QueryPartProcessor
- Parameters:
delim - the (previous) delimitor identified before the token. This
will always be null in case of the first token.token - the token identified.
getDelims
public List<String> getDelims()
getTokens
public List<String> getTokens()
Copyright © 2007-2013. All Rights Reserved.