HttpSession session = request.getSession();
HTTPRepository repo = (HTTPRepository)session.getAttribute(SessionKeys.REPOSITORY_KEY);
binder.registerCustomEditor(Resource.class, new ResourcePropertyEditor(repo.getValueFactory()));
binder.registerCustomEditor(URI.class, new UriPropertyEditor(repo.getValueFactory()));
binder.registerCustomEditor(Value.class, new ValuePropertyEditor(repo.getValueFactory()));
binder.registerCustomEditor(RDFFormat.class, new RDFFormatPropertyEditor());
}