Method | Description | |
---|---|---|
Read_Metadata ( Stream Input_Stream, SobekCM_Item Return_Package, object>.Dictionary |
Reads metadata from an open stream and saves to the provided item/package This reader accepts two option values. 'EAD_File_ReaderWriter:XSL_Location' gives the location of a XSL file, which can be used to transform the description XML read from this EAD into HTML (or another format of XML). 'EAD_File_ReaderWriter:Analyze_Description' indicates whether to analyze the description section of the EAD and read it into the item. (Default is TRUE). |
|
Read_Metadata ( string MetadataFilePathName, SobekCM_Item Return_Package, object>.Dictionary |
Reads metadata from an existing metadata file and saves to the provided item/package This reader accepts two option values. 'EAD_File_ReaderWriter:XSL_Location' gives the location of a XSL file, which can be used to transform the description XML read from this EAD into HTML (or another format of XML). 'EAD_File_ReaderWriter:Analyze_Description' indicates whether to analyze the description section of the EAD and read it into the item. (Default is TRUE). |
|
Write_Metadata ( |
Writes the formatted metadata from the provided item to a TextWriter (usually to an output stream)
|
|
Write_Metadata ( string MetadataFilePathName, SobekCM_Item Item_To_Save, object>.Dictionary |
Writes the formatted metadata from the provided item to a file
|
Method | Description | |
---|---|---|
Clean_Text_Block ( string InnerXML ) : string | ||
Trim_Final_Punctuation ( string ToBeTrimmed ) : string |
public Read_Metadata ( Stream Input_Stream, SobekCM_Item Return_Package, object>.Dictionary |
||
Input_Stream | Stream | Open stream to read metadata from |
Return_Package | SobekCM_Item | Package into which to read the metadata |
Options | object>.Dictionary | Dictionary of any options which this metadata reader/writer may utilize |
Error_Message | string | [OUTPUT] Explanation of the error, if an error occurs during reading |
return | bool |
public Read_Metadata ( string MetadataFilePathName, SobekCM_Item Return_Package, object>.Dictionary |
||
MetadataFilePathName | string | Path and name of the metadata file to read |
Return_Package | SobekCM_Item | Package into which to read the metadata |
Options | object>.Dictionary | Dictionary of any options which this metadata reader/writer may utilize |
Error_Message | string | [OUTPUT] Explanation of the error, if an error occurs during reading |
return | bool |
public Write_Metadata ( |
||
Output_Stream | ||
Item_To_Save | SobekCM_Item | Package with all the metadata to save |
Options | object>.Dictionary | Dictionary of any options which this metadata reader/writer may utilize |
Error_Message | string | [OUTPUT] Explanation of the error, if an error occurs during write |
return | bool |
public Write_Metadata ( string MetadataFilePathName, SobekCM_Item Item_To_Save, object>.Dictionary |
||
MetadataFilePathName | string | Path and name of the metadata file to write |
Item_To_Save | SobekCM_Item | Package with all the metadata to save |
Options | object>.Dictionary | Dictionary of any options which this metadata reader/writer may utilize |
Error_Message | string | [OUTPUT] Explanation of the error, if an error occurs during write |
return | bool |