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
Afficher le fichier Open project: irfiit/wikipedia Class Usage Examples

Private Properties

Свойство Type Description
saveXml void
searchDayEvents HashSet

Méthodes publiques

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

Private Methods

Méthode Description
saveXml ( String path ) : void
searchDayEvents ( String dateKey ) : HashSet

Method Details

MyXMLParser() public méthode

public MyXMLParser ( ) : System
Résultat System

exportEventsXML() public méthode

public exportEventsXML ( String path ) : void
path String
Résultat void

getAllDays() public méthode

public getAllDays ( ) : List
Résultat List

getDistinctEventTypes() public méthode

public getDistinctEventTypes ( ) : List
Résultat List

getEventStatistics() public méthode

public getEventStatistics ( ) : string
Résultat string

getXmlString() public méthode

public getXmlString ( ) : string
Résultat string

initParsing() public méthode

public initParsing ( String path ) : void
path String
Résultat void