code: public static <T> T toObjectWithXStream(final XStream xstream, final String xmlString)
  	{
  		return toObjectWithXStream(xstream, xmlString, null);
  	}
docs: Creates from the given xml string an java object.
  
  @param <T>
  the generic type of the return type
  @param xstream
  the xstream object.
  @param xmlString
  the xml as string object
  @return the object