code: package de.itemis.itemisapp;
  
  import static de.itemis.base.StringUtils.*;
  
  public class ProviderFactory {
  
  	public static CompanyDescriptionProvider getCompanyDescriptionProvider() {
  		String feedUrl = "http://www.itemis.de/language=de/~xml.company/37606";
  		return new CompanyDescriptionProvider(feedUrl);
  	}
  
  	public static OfficeByIdProvider getOfficeByIdProvider(String id) {
  		String feedUrl = "http://www.itemis.de/language=de/~xml.applause/" + id;
  		return new OfficeByIdProvider(feedUrl);
  	}
  
  	public static CareerDataProvider getCareerDataProvider() {
  		String feedUrl = "http://www.itemis.de/language=de/~xml.carreer/37606";
  		return new CareerDataProvider(feedUrl);
  	}
  
  	public static JobByIdProvider getJobByIdProvider(String id) {
  		String feedUrl = "http://www.itemis.de/language=de/~xml.applause/" + id;
  		return new JobByIdProvider(feedUrl);
  	}
  
  	public static CurrentTimelineProvider getCurrentTimelineProvider() {
  		String feedUrl = "http://www.itemis.de/language=de/~xml.timeline/37606";
  		return new CurrentTimelineProvider(feedUrl);
  	}
  
  	public static EventByIdProvider getEventByIdProvider(Event e) {
  		String feedUrl = "http://www.itemis.de/language=de/~xml.applause/"
  				+ e.getId();
  		return new EventByIdProvider(feedUrl);
  	}
  
  	public static PersonByNameProvider getPersonByNameProvider(String name) {
  		String feedUrl = "http://www.itemis.de/applause/people/de/"
  				+ urlconform(name) + ".xml";
  		return new PersonByNameProvider(feedUrl);
  	}
  
  	public static BlogpostsProvider getBlogpostsProvider() {
  		String feedUrl = "http://feedsanitizer.appspot.com"
  				+ "/sanitize?url=http%3A%2F%2Fblogs.itemis.de%2F%3Fshowfeed%3D1&format=rss";
  		return new BlogpostsProvider(feedUrl);
  	}
  
  	public static BlogItemByIdProvider getBlogItemByIdProvider(BlogItem b) {
  		String feedUrl = "http://feedsanitizer.appspot.com"
  				+ "/sanitize?url=http%3A%2F%2Fblogs.itemis.de%2F%3Fshowfeed%3D1&format=rss&id="
  				+ urlconform(b.getGuid());
  		return new BlogItemByIdProvider(feedUrl);
  	}
  
  }
  