C# Class Builder.FeedWriter

Show file Open project: votinginfoproject/scripts Class Usage Examples

Public Methods

Method Description
FeedWriter ( string sFilePath, string sFIPS, NameValueCollection oWriterSettings ) : System
WriteElementFromConfig ( String sElementName, NameValueCollection oConfig ) : void
WriteEndElement ( ) : void
WriteHeader ( NameValueCollection oVipConfig ) : void
WriteLocalities ( OracleCommand oCmd ) : void
WritePollingPlaces ( OracleCommand oCmd ) : void
WritePrecincts ( OracleCommand oCmd ) : void
WritePrecinctsSplits ( OracleCommand oCmd ) : void
WriteStartElement ( string sElementName ) : void
WriteStreetSegments ( OracleCommand oCmd ) : void

Private Methods

Method Description
CreateXmlWriter ( NameValueCollection oXmlConfig, String sOutputFile ) : XmlWriter
FormatFileName ( string sFilePath, string sFIPS ) : string

Method Details

FeedWriter() public method

public FeedWriter ( string sFilePath, string sFIPS, NameValueCollection oWriterSettings ) : System
sFilePath string
sFIPS string
oWriterSettings System.Collections.Specialized.NameValueCollection
return System

WriteElementFromConfig() public method

public WriteElementFromConfig ( String sElementName, NameValueCollection oConfig ) : void
sElementName String
oConfig System.Collections.Specialized.NameValueCollection
return void

WriteEndElement() public method

public WriteEndElement ( ) : void
return void

WriteHeader() public method

public WriteHeader ( NameValueCollection oVipConfig ) : void
oVipConfig System.Collections.Specialized.NameValueCollection
return void

WriteLocalities() public method

public WriteLocalities ( OracleCommand oCmd ) : void
oCmd OracleCommand
return void

WritePollingPlaces() public method

public WritePollingPlaces ( OracleCommand oCmd ) : void
oCmd OracleCommand
return void

WritePrecincts() public method

public WritePrecincts ( OracleCommand oCmd ) : void
oCmd OracleCommand
return void

WritePrecinctsSplits() public method

public WritePrecinctsSplits ( OracleCommand oCmd ) : void
oCmd OracleCommand
return void

WriteStartElement() public method

public WriteStartElement ( string sElementName ) : void
sElementName string
return void

WriteStreetSegments() public method

public WriteStreetSegments ( OracleCommand oCmd ) : void
oCmd OracleCommand
return void