public interface IBlockHandler
Modifier and Type | Method and Description |
---|---|
boolean |
canHandle(String blockHeader)
Return
true if the handler requests to process the article
constituent starting at the given line of text. |
void |
fillContent(ParsingContext context)
This hotspot is invoked if the parser releases this handler.
|
boolean |
processBody(String line,
ParsingContext context)
If the handler requested to process the body of this constituent, this
hotspot will be called for processing each line of the constituent's
body.
|
boolean |
processHead(String line,
ParsingContext context)
If the handler requested to process this constituent, this hotspot
will be called for processing the section header of this
article constituent.
|
boolean canHandle(String blockHeader)
true
if the handler requests to process the article
constituent starting at the given line of text.boolean processHead(String line, ParsingContext context)
true
if the handler
requests to handle also the body of this constituent.boolean processBody(String line, ParsingContext context)
true
if the handler requests to handle also
the next line using this handler.void fillContent(ParsingContext context)
Copyright © 2011-2016 Ubiquitous Knowledge Processing (UKP) Lab. All Rights Reserved.