Adapter for switching between DocRaptor and PrinceXML