com.unitesk.requality.documents
public interface IDocumentProcessor
Modifier and Type | Method and Description |
---|---|
boolean |
configure(Document doc)
Provide additional configuration process if needed
|
int[] |
getCounterMax()
Get numbers of calls of monitor.worked required to complete processing.
|
int[] |
getCounterValues() |
void |
process(java.lang.String docId,
TreeNode rootNode,
IProgressMonitor monitor)
Process document with given id
|
void |
setCounterValues(int lc,
int pc,
int sc) |
void |
setEncoding(java.lang.String encoding)
Set encoding for input stream
|
int[] getCounterMax()
int[] getCounterValues()
void setCounterValues(int lc, int pc, int sc)
void setEncoding(java.lang.String encoding)
encoding
- encodingvoid process(java.lang.String docId, TreeNode rootNode, IProgressMonitor monitor) throws java.io.IOException
docId
- identifier of documentrootNode
- root element of requirements catalogjava.io.IOException
boolean configure(Document doc)
doc
- document to be processed further