|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PageCallbackHandler
Interface to allow streamed processing of pages. This allows a SAX style processing of Wikipedia XML files. The registered callback is executed on each page element in the XML file.
Using callbacks will consume lesser memory, an useful feature for large dumps like English and German.
WikiXMLDOMParser
,
WikiPage
Method Summary | |
---|---|
void |
process(WikiPage page)
This is the callback method that should be implemented before registering with WikiXMLDOMParser |
Method Detail |
---|
void process(WikiPage page)
WikiXMLDOMParser
page
- a wikipedia page objectWikiPage
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |