C# Class SobekCM.Engine_Library.Items.BriefItems.BriefItem_Factory

Class is used to create the brief item object, from the original SobekCM_Item read from the METS file
Mostra file Open project: MarkVSullivan/SobekCM-Web-Application

Public Methods

Method Description
Clear ( ) : void

Clears the built instances of the mapping objects here, which forces the mappers to be rebuilt the next time it is called

Create ( SobekCM_Item Original, Custom_Tracer Tracer ) : BriefItemInfo

Create the BriefItemInfo from a full METS-based SobekCM_Item object, using the default mapping set

Create ( SobekCM_Item Original, string MappingSetId, Custom_Tracer Tracer ) : BriefItemInfo

Create the BriefItemInfo from a full METS-based SobekCM_Item object, using the default mapping set

Private Methods

Method Description
Get_Mapper ( string MapperAssembly, string MapperClass, string &ErrorMessage ) : object
get_mapping_set ( string mappingSet ) : List
get_or_create_mapper ( string MapperAssembly, string MapperClass, string &ErrorMessage ) : IBriefItemMapper

Method Details

Clear() public static method

Clears the built instances of the mapping objects here, which forces the mappers to be rebuilt the next time it is called
public static Clear ( ) : void
return void

Create() public static method

Create the BriefItemInfo from a full METS-based SobekCM_Item object, using the default mapping set
public static Create ( SobekCM_Item Original, Custom_Tracer Tracer ) : BriefItemInfo
Original SobekCM.Resource_Object.SobekCM_Item Original METS-based object to use
Tracer SobekCM.Tools.Custom_Tracer Custom tracer to record general process flow
return SobekCM.Core.BriefItem.BriefItemInfo

Create() public static method

Create the BriefItemInfo from a full METS-based SobekCM_Item object, using the default mapping set
public static Create ( SobekCM_Item Original, string MappingSetId, Custom_Tracer Tracer ) : BriefItemInfo
Original SobekCM.Resource_Object.SobekCM_Item Original METS-based object to use
MappingSetId string Name of the mapping set to use (if there are more than one)
Tracer SobekCM.Tools.Custom_Tracer Custom tracer to record general process flow
return SobekCM.Core.BriefItem.BriefItemInfo