public class ENReferenceHandler extends ENBlockHandler
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
inTemplate |
protected List<IWikiString> |
references |
labels| Constructor and Description |
|---|
ENReferenceHandler()
Initializes the block handler for parsing all sections starting with
one of the specified labels.
|
| Modifier and Type | Method and Description |
|---|---|
void |
fillContent(ParsingContext context)
Add external links to WordEntry
|
boolean |
processBody(String textLine,
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 textLine,
ParsingContext context)
If the handler requested to process this constituent, this hotspot
will be called for processing the section header of this
article constituent.
|
canHandle, getLabelsprotected List<IWikiString> references
protected boolean inTemplate
public ENReferenceHandler()
public boolean processHead(String textLine, ParsingContext context)
IBlockHandlertrue if the handler
requests to handle also the body of this constituent.processHead in interface IBlockHandlerprocessHead in class BlockHandlerpublic boolean processBody(String textLine, ParsingContext context)
IBlockHandlertrue if the handler requests to handle also
the next line using this handler.processBody in interface IBlockHandlerprocessBody in class BlockHandlerpublic void fillContent(ParsingContext context)
fillContent in interface IBlockHandlerfillContent in class BlockHandlerCopyright © 2011-2016 Ubiquitous Knowledge Processing (UKP) Lab. All Rights Reserved.