private void parseJob(JobStub inputJob, Jobs outputJobs)
throws ParseException {
switch (inputJob.type) {
case HTML:
outputJobs.getJobs().add(JobEnvelope.of(Job.domJob(
new Dom(htmlFragment(fromString(inputJob.content, is))),
is.getUri())));
break;
case CSS:
outputJobs.getJobs().add(JobEnvelope.of(
Job.cssJob(css(fromString(inputJob.content, is)), is.getUri())));