Class CompositeDocumentProcessor
- java.lang.Object
-
- com.levigo.jadice.server.documentplatform.document.processor.CompositeDocumentProcessor
-
- All Implemented Interfaces:
DocumentProcessor
public class CompositeDocumentProcessor extends Object implements DocumentProcessor
This class serves as a wrapper of aDocumentProcessor
collection and propagates calls to the process method of instances in its combined collection.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.levigo.jadice.server.documentplatform.DocumentProcessor
DocumentProcessor.ProcessingPhase
-
-
Constructor Summary
Constructors Constructor Description CompositeDocumentProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<DocumentProcessor>
getDocumentProcessorList()
void
process(ReshapeWorker worker, DocumentProcessor.ProcessingPhase phase, com.levigo.jadice.document.Document document)
Process (and manipulate) the given jadiceDocument
void
setDocumentProcessorList(List<DocumentProcessor> documentProcessorList)
-
-
-
Method Detail
-
process
public void process(ReshapeWorker worker, DocumentProcessor.ProcessingPhase phase, com.levigo.jadice.document.Document document)
Description copied from interface:DocumentProcessor
Process (and manipulate) the given jadiceDocument
- Specified by:
process
in interfaceDocumentProcessor
- Parameters:
worker
- The context in which the processing happensphase
- The currentDocumentProcessor.ProcessingPhase
document
- TheDocument
that shall be reshaped
-
getDocumentProcessorList
public List<DocumentProcessor> getDocumentProcessorList()
-
setDocumentProcessorList
public void setDocumentProcessorList(List<DocumentProcessor> documentProcessorList)
-
-