I was wondering if  there is a way to retrieve   the prefix corresponding to 
a place ???

For example lets say I have the following Place class:

public class HomePlace extends Place {
 @Prefix("/home")
public static class Tokenizer implements PlaceTokenizer<HomePlace> {

@Override
public HomePlace getPlace(String token) {
  return new HomePlace ();
}

@Override
public String getToken(HomePlace place) {
return "home";
}
}

}


Now, lets say I want to  retrieve the Prefix corresponding to HomePlace, in 
some other part of my code(say some Activity class) . Is there a way to do 
it ??? I know I could retrieve the token but am kinda clueless about being 
able to retrieve the prefix.

Any thoughts/pointers are much appreciated.

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

Reply via email to