Example example = factory.createExample();
example.setDescription(description);
example.setReference(reference);
// make a new ModelReference
ModelReference ref = factory.createModelReference();
ref.setPlugin(jc.getPlugin());
ref.setPackage(jc.getPackage());
ref.setName(jc.getName());
root.getReferences().add(ref);
example.setExampleModel(ref);
// make a new FileReference for the example .html