C# Class WikiCalendar.MyXMLParser

Xml parser with storage for all events. It parses wiki xml dump sent as parameter to constructor. It has functionality like Controller. It uses Indexes to search for events or return all events information
ファイルを表示 Open project: irfiit/wikipedia Class Usage Examples

Private Properties

Property Type Description
saveXml void
searchDayEvents HashSet

Public Methods

Method Description
MyXMLParser ( ) : System
exportEventsXML ( String path ) : void
getAllDays ( ) : List
getDistinctEventTypes ( ) : List
getEventStatistics ( ) : string
getXmlString ( ) : string
initParsing ( String path ) : void

Private Methods

Method Description
saveXml ( String path ) : void
searchDayEvents ( String dateKey ) : HashSet

Method Details

MyXMLParser() public method

public MyXMLParser ( ) : System
return System

exportEventsXML() public method

public exportEventsXML ( String path ) : void
path String
return void

getAllDays() public method

public getAllDays ( ) : List
return List

getDistinctEventTypes() public method

public getDistinctEventTypes ( ) : List
return List

getEventStatistics() public method

public getEventStatistics ( ) : string
return string

getXmlString() public method

public getXmlString ( ) : string
return string

initParsing() public method

public initParsing ( String path ) : void
path String
return void