C# Class SobekCM.Library.ItemViewer.Viewers.Street_ItemViewer

Item viewer displays the list of streets (from the authority database or metadata) associated with a digital resource.
This class extends the abstract class abstractItemViewer and implements the iItemViewer interface.
Inheritance: SobekCM.Library.ItemViewer.Viewers.abstractItemViewer
Mostrar archivo Open project: MarkVSullivan/SobekCM-Web-Application

Public Methods

Method Description
Write_Main_Viewer_Section ( TextWriter Output, Custom_Tracer Tracer ) : void

Stream to which to write the HTML for this subwriter

Protected Methods

Method Description
Create_Street_Index ( TextWriter Output, SobekCM.Library.Items.Authority.Map_Streets_DataSet streets ) : void

Build the HTML for the street index for this item

Insert_One_Street_Column ( TextWriter Output, SobekCM.Library.Items.Authority.Map_Streets_DataSet streets, int startRow, int endRow ) : void

Insert the HTML for a single street column into the Stringbuilder

Private Methods

Method Description
street_display ( SobekCM.Library.Items.Authority.Map_Streets_DataSet thisStreet ) : string

Build the information to display about the street, depending on what values are present in the Strongly typed street datarow

Method Details

Create_Street_Index() protected method

Build the HTML for the street index for this item
protected Create_Street_Index ( TextWriter Output, SobekCM.Library.Items.Authority.Map_Streets_DataSet streets ) : void
Output TextWriter Stream to write into
streets SobekCM.Library.Items.Authority.Map_Streets_DataSet Dataset containig all of the streets linked to this item
return void

Insert_One_Street_Column() protected method

Insert the HTML for a single street column into the Stringbuilder
protected Insert_One_Street_Column ( TextWriter Output, SobekCM.Library.Items.Authority.Map_Streets_DataSet streets, int startRow, int endRow ) : void
Output TextWriter Response stream to write directly to
streets SobekCM.Library.Items.Authority.Map_Streets_DataSet Dataset containig all of the streets linked to this item
startRow int Row of the set of streets to begin on
endRow int Last row in the set of streets
return void

Write_Main_Viewer_Section() public method

Stream to which to write the HTML for this subwriter
public Write_Main_Viewer_Section ( TextWriter Output, Custom_Tracer Tracer ) : void
Output TextWriter Response stream for the item viewer to write directly to
Tracer Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
return void