List of usage examples for com.google.gwt.query.client Properties get
public final <T> T get(Object name)
From source file:org.lirazs.gbackbone.client.core.navigation.History.java
License:Apache License
private boolean loadUrl(String fragmentOverride) { // If the root doesn't match, no routes can match either. if (!matchRoot()) return false; String fragment = this.fragment = this.getFragment(fragmentOverride); for (int i = 0; i < handlers.length(); i++) { Properties handler = handlers.get(i); RegExp route = handler.get("route"); Function callback = handler.getFunction("callback"); if (route.test(fragment)) { callback.f(fragment);/*from ww w . ja va2s.c o m*/ return true; } } return false; }