use of org.apache.cocoon.pipeline.ProcessingException in project syncope by apache.
the class FopSerializer method setOutputStream.
@Override
public void setOutputStream(final OutputStream outputStream) {
try {
Fop fop = FOP_FACTORY.newFop(this.outputFormat, outputStream);
ContentHandler fopContentHandler = fop.getDefaultHandler();
this.setContentHandler(fopContentHandler);
} catch (FOPException e) {
throw new ProcessingException("Impossible to initialize FOPSerializer", e);
}
}
Aggregations