Interface DocumentProcessorIF
-
public interface DocumentProcessorIF
INTERNAL: Interface for processing a document. Implementations would typically modify, add or remove fields.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
needsProcessing(DocumentIF document)
INTERNAL: Can be used to figure out if it is necessary to process the document.void
process(DocumentIF document)
INTERNAL: Processes the specified document.
-
-
-
Method Detail
-
needsProcessing
boolean needsProcessing(DocumentIF document)
INTERNAL: Can be used to figure out if it is necessary to process the document.This method should be used to quickly decide whether or not the document needs to be processed. Note that this method should return quickly, since it would normally be executed serially.
- Returns:
- Returns true if the document should be processed.
-
process
void process(DocumentIF document) throws Exception
INTERNAL: Processes the specified document.- Throws:
Exception
-
-