setGenerator

public final Unit setGenerator(String name, IResourceClassGenerator gen)

Set a resource generator.