Interface DocumentProcessorIF
public interface DocumentProcessorIF
INTERNAL: Interface for processing a document. Implementations would
typically modify, add or remove fields.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanneedsProcessing(DocumentIF document) INTERNAL: Can be used to figure out if it is necessary to process the document.voidprocess(DocumentIF document) INTERNAL: Processes the specified document.
-
Method Details
-
needsProcessing
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
INTERNAL: Processes the specified document.- Throws:
Exception
-