Class XRechnung2PdfWorker
- java.lang.Object
-
- com.levigo.jadice.server.core.NodeWorker<XRechnung2PdfNode>
-
- com.levigo.jadice.server.xrechnung.XRechnung2PdfWorker
-
- All Implemented Interfaces:
QualifiedLogEventReceiver
,WorkerController<XRechnung2PdfNode>
,Runnable
public class XRechnung2PdfWorker extends NodeWorker<XRechnung2PdfNode>
The corresponding worker for theXRechnung2PdfNode
.
-
-
Constructor Summary
Constructors Constructor Description XRechnung2PdfWorker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
transformViaFOP(com.levigo.jadice.document.io.SeekableInputStream stream, OutputStream ous, String filename)
void
work()
Implement this method to let the node perform some useful work.-
Methods inherited from class com.levigo.jadice.server.core.NodeWorker
abort, abortNow, addInputBundle, addOutputBundle, doAbort, doAbortNow, error, error, error, fail, fail, fail, getController, getInputBundle, getInputBundles, getJob, getLimitSupport, getNode, getOutputBundle, getOutputBundles, getServerJob, getState, getStreamTransportFactory, getTransportSender, initialize, isAbortRequested, postWork, preWork, run, setDescriptor, setJob, toString, warn, warn, warn
-
-
-
-
Method Detail
-
work
public void work() throws Throwable
Description copied from class:NodeWorker
Implement this method to let the node perform some useful work.Implementors are free to throw whatever exception they see fit. If any
Throwable
is thrown from this method, the failure manager is notified about the fatal failure of the whole pipeline.- Specified by:
work
in classNodeWorker<XRechnung2PdfNode>
- Throws:
Throwable
- in case of processing failure
-
transformViaFOP
protected void transformViaFOP(com.levigo.jadice.document.io.SeekableInputStream stream, OutputStream ous, String filename) throws com.levigo.jadice.xrechnung.fop.XRechnungTransformException
- Throws:
com.levigo.jadice.xrechnung.fop.XRechnungTransformException
-
-