Package org.openrdf.http.webclient.properties

Examples of org.openrdf.http.webclient.properties.UriPropertyEditor


  protected void initBinder(HttpServletRequest request, ServletRequestDataBinder binder) {
    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());
  }
View Full Code Here


  protected void initBinder(HttpServletRequest request, ServletRequestDataBinder binder) {
    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()));
  }
View Full Code Here

TOP

Related Classes of org.openrdf.http.webclient.properties.UriPropertyEditor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.