mySobek Home   |   Help
Skip Navigation Links.
Expand <a href='http://sobekrepository.org/sobekcm' title='Sobek home page'>Project Home</a>Project Home
Expand <a href='http://sobekrepository.org/help' title='Online user help'>User Help</a>User Help
Expand <a href='http://sobekrepository.org/sobekcm/technical' title='Sobek home page'>Technical Help</a>Technical Help
Expand <a href='http://sobekrepository.org/software' title='Center for downloading all SobekCM-related software'>Download Center</a>Download Center
Training Videos
Collapse <a href='http://sobekrepository.org/codehelp' title='Details on each of the different classes, interfaces, properties, etc..'>Code Details</a>Code Details
MISSING BANNER

TEI_File_ReaderWriter Class



TEI metadata reader/writer


Namespace: SobekCM.Resource_Object.Metadata_File_ReaderWriters
Assembly: SobekCM_Resource_Object (in SobekCM_Resource_Object.dll) Version: 4.10.0.0 (4.10.0)

Syntax

C#
public class TEI_File_ReaderWriter : XML_Writing_Base_Type, 
	iMetadata_File_ReaderWriter

Inheritance Hierarchy

System..::..Object
  SobekCM.Resource_Object..::..XML_Writing_Base_Type
    SobekCM.Resource_Object.Metadata_File_ReaderWriters..::..TEI_File_ReaderWriter

Constructors

  NameDescription
Public methodTEI_File_ReaderWriter
Initializes a new instance of the TEI_File_ReaderWriter class

Methods

  NameDescription
Public methodConvert_String_To_XML_Safe
Converts a basic string into an XML-safe string
(Inherited from XML_Writing_Base_Type.)
Public methodRead_Metadata(Stream, SobekCM_Item, Dictionary<(Of <<'(String, Object>)>>), String%)
Reads metadata from an open stream and saves to the provided item/package
Public methodRead_Metadata(String, SobekCM_Item, Dictionary<(Of <<'(String, Object>)>>), String%)
Reads metadata from an existing metadata file and saves to the provided item/package
Public methodWrite_Metadata(TextWriter, SobekCM_Item, Dictionary<(Of <<'(String, Object>)>>), String%)
Writes the formatted metadata from the provided item to a TextWriter (usually to an output stream)
Public methodWrite_Metadata(String, SobekCM_Item, Dictionary<(Of <<'(String, Object>)>>), String%)
Writes the formatted metadata from the provided item to a file

Properties

  NameDescription
Public propertycanRead
Flag indicates if this reader/writer can read from files and streams
Public propertycanWrite
Flag indicates if this reader/writer can write to files and streams
Public propertyMetadata_Type_Abbreviation
Abbreviation for the metadata format utilized by this reader/writer (i.e., DC, MODS, GSA, etc.. )
Public propertyMetadata_Type_Name
Full name which best describes the metadata format this reader/writer utilizes (i.e. Dublin Core, Greenstone file, etc.. )

See Also



Version 4.10.0 ( last generated Monday, March 7, 2016 )