public class CustomTextParser extends DocumentProcessor
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ATTRIB_PATTERN |
static java.util.Map<java.lang.String,java.lang.String> |
defaultSettings |
static java.lang.String |
LEVEL_PATTERN |
static java.lang.String |
REQ_ID_PATTERN |
static java.lang.String |
START_SECTION_PATTERN |
eclipseGUI, encoding, messageBoxMessage, messageBoxTitle, showMessages, wiz
Constructor and Description |
---|
CustomTextParser() |
Modifier and Type | Method and Description |
---|---|
boolean |
configure(Document doc)
Provide additional configuration process if needed
|
protected boolean |
process(java.lang.String docId,
java.io.Reader reader,
java.io.Writer writer,
TreeNode rootNode) |
getCounterMax, getCounterValues, getMonitor, isCanceled, process, setCounterValues, setEncoding, setWizard, showErrorBox, showMessageBox, showQuestionBox, showSelectAnotherDocumentDialog, showSelectAnotherDocumentDialog, showWizard, showWizard, toggleShowMessages
public static final java.lang.String START_SECTION_PATTERN
public static final java.lang.String REQ_ID_PATTERN
public static final java.lang.String ATTRIB_PATTERN
public static final java.lang.String LEVEL_PATTERN
public static java.util.Map<java.lang.String,java.lang.String> defaultSettings
public boolean configure(Document doc)
IDocumentProcessor
configure
in interface IDocumentProcessor
configure
in class DocumentProcessor
doc
- document to be processed furtherprotected boolean process(java.lang.String docId, java.io.Reader reader, java.io.Writer writer, TreeNode rootNode) throws java.io.IOException
process
in class DocumentProcessor
java.io.IOException