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

Item viewer displays the list of features (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
显示文件 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_Feature_Index ( TextWriter Output, SobekCM.Engine_Library.Items.Authority.Map_Features_DataSet Features ) : void

Build the HTML for the feature index for this item

Insert_One_Feature_Column ( TextWriter Output, SobekCM.Engine_Library.Items.Authority.Map_Features_DataSet Features, int StartRow, int EndRow ) : void

Insert the HTML for a single feature column into the Stringbuilder

Method Details

Create_Feature_Index() protected method

Build the HTML for the feature index for this item
protected Create_Feature_Index ( TextWriter Output, SobekCM.Engine_Library.Items.Authority.Map_Features_DataSet Features ) : void
Output System.IO.TextWriter HTML output stream
Features SobekCM.Engine_Library.Items.Authority.Map_Features_DataSet Dataset containig all of the features linked to this item
return void

Insert_One_Feature_Column() protected method

Insert the HTML for a single feature column into the Stringbuilder
protected Insert_One_Feature_Column ( TextWriter Output, SobekCM.Engine_Library.Items.Authority.Map_Features_DataSet Features, int StartRow, int EndRow ) : void
Output System.IO.TextWriter Output stream to write the HTML to
Features SobekCM.Engine_Library.Items.Authority.Map_Features_DataSet Dataset containig all of the features linked to this item
StartRow int Row of the set of features to begin on
EndRow int Last row in the set of features
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 System.IO.TextWriter Response stream for the item viewer to write directly to
Tracer SobekCM.Tools.Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
return void