class need not be abstract
rootDocument is what should exit processor