Saturday, February 26, 2011

PlaceTokenizer with no (trailing) token

Is there a way to implement a place with no token?

ie, have a tokenizer like this:

@Prefix("prefix")
public class MyTokenizer ... {
  ...
  @Override
  public String getToken(P place) {
    return null; 
  }
}

this one generates tokens like this:

#prefix:null

is there a way to get rid of ':null' ?

thanks,
-g.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment