METS_Section_ReaderWriter_Config Class
Configuration information about a reader/writer class used to read or
write a section within a METS file
Namespace: SobekCM.Resource_Object.ConfigurationAssembly: SobekCM_Resource_Object (in SobekCM_Resource_Object.dll) Version: 4.10.0.0 (4.10.0)
Syntax
C# |
---|
[SerializableAttribute]
[ProtoContractAttribute]
[DataContractAttribute]
[XmlRootAttribute("MetsWritingConfig")]
public class METS_Section_ReaderWriter_Config |
Inheritance Hierarchy
System..::..Object SobekCM.Resource_Object.Configuration..::..METS_Section_ReaderWriter_Config
Constructors
Methods
| Name | Description |
---|
| Add_Mapping | Add a new mapping from the METS file MDTYPE and OTHERMDTYPE attributes
which this METS Section Reader/Writer supports |
| Add_Option | Add a new option to the dictionary of associated standard options |
| Create_ReaderWriterObject | Creates the reader/writer object, from the provided code assembly, namespace, and class |
| ShouldSerializeAmdSecType | Method suppresses XML Serialization of the AmdSecType property if it is UNSPECIFIED |
| ShouldSerializeCode_Assembly | Method suppresses XML Serialization of the Code_Assembly property if it is empty |
| ShouldSerializeOptions | Method suppresses XML Serialization of the Options collection if it is empty |
Properties
| Name | Description |
---|
| AmdSecType | If this reader/writer targets an amdSec, the type of amdSec |
| Code_Assembly | Assembly name of the DLL which holds this associated reader/writer |
| Code_Class | Class name for the associated reader/writer |
| Code_Namespace | Namespace within which this reader/writer class appears |
| Default_Mapping | Gets the default mapping rom the METS file MDTYPE and OTHERMDTYPE attributes
which this is utilized when writing a METS file |
| ID | ID for this METS section reader/writer |
| isActive | Flag indicates if this METS section reader/writer is active |
| Label | Label associated with this METS section reader/writer |
| Mappings | Collection of all mappings from the METS file MDTYPE and OTHERMDTYPE attributes
which this METS Section Reader/Writer supports |
| Mappings_Count | Number of mappings from the METS file MDTYPE and OTHERMDTYPE attributes
which this METS Section Reader/Writer supports |
| METS_Section | Which METS section this reader/writer targets |
| Options | Dictionary of all the associated standard options, read from the metadata configuration XML file |
| ReaderWriterObject | METS section reader/writer object associated with this configuration |
| ReaderWriterObject_Creation_Error | If there is an error while creating the reader/writer object, the error is stored here |
See Also