public interface IWiktionaryPageParser
Modifier and Type | Method and Description |
---|---|
void |
onClose(IDumpInfo dumpInfo)
Hotspot that is invoked after the parser has finished its work.
|
void |
onPageEnd()
Hotspot that is invoked upon finishing the current article page.
|
void |
onPageStart()
Hotspot that is invoked upon starting a new article page.
|
void |
onParserEnd(IDumpInfo dumpInfo)
Hotspot that is invoked when the parser is about to end.
|
void |
onParserStart(IDumpInfo dumpInfo)
Hotspot that is invoked upon starting the parser.
|
void |
onSiteInfoComplete(IDumpInfo dumpInfo)
Hotspot that is invoked after the siteinfo header has been read.
|
void |
setAuthor(String author)
Hotspot that is invoked after the current page's author is read.
|
void |
setPageId(long pageId)
Hotspot that is invoked after the current page's id is read.
|
void |
setRevision(long revisionId)
Hotspot that is invoked after the current page's revision id is read.
|
void |
setText(String text)
Hotspot that is invoked after the current page's text is read.
|
void |
setTimestamp(Date timestamp)
Hotspot that is invoked after the current page's timestamp is read.
|
void |
setTitle(String title,
String namespace)
Hotspot that is invoked after the current page's title is read.
|
void onParserStart(IDumpInfo dumpInfo)
void onSiteInfoComplete(IDumpInfo dumpInfo)
void onParserEnd(IDumpInfo dumpInfo)
onClose(IDumpInfo)
hotspot.void onClose(IDumpInfo dumpInfo)
onParserEnd(IDumpInfo)
calls have been handled.void onPageStart()
void onPageEnd()
void setAuthor(String author)
void setRevision(long revisionId)
void setTimestamp(Date timestamp)
void setPageId(long pageId)
void setTitle(String title, String namespace)
namespace
- void setText(String text)
Copyright © 2011-2016 Ubiquitous Knowledge Processing (UKP) Lab. All Rights Reserved.