C# Класс SobekCM.Core.Configuration.OAIPMH.OAI_PMH_Configuration

Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
Convert_String_To_XML_Safe string

Открытые методы

Метод Описание
Add_Admin_Email ( string AdminEmail ) : void

Add a new admin email address within the Identify response of the OAI-PMH protocol

Add_Description ( string NewDescription ) : void

Add a new description to be included within the Identify response of the OAI-PMH protocol

Add_Metadata_Prefix ( OAI_PMH_Metadata_Format NewPrefix ) : void

Add a new metadata prefix

Clear_Metadata_Prefixes ( ) : void

Clears all the metadata prefixes

OAI_PMH_Configuration ( ) : System

OAI-PMG configuration information for this SobekCM instance

Save_To_Config_File ( string FilePath ) : bool

Save this OAI-PMH configuration to a XML config file

Set_Default ( ) : void

Sets the defautls for the metadata prefixes ( dublin core and marc21 )

Приватные методы

Метод Описание
Convert_String_To_XML_Safe ( string element ) : string

Converts a basic string into an XML-safe string

Описание методов

Add_Admin_Email() публичный Метод

Add a new admin email address within the Identify response of the OAI-PMH protocol
public Add_Admin_Email ( string AdminEmail ) : void
AdminEmail string New admin email to add to the list
Результат void

Add_Description() публичный Метод

Add a new description to be included within the Identify response of the OAI-PMH protocol
public Add_Description ( string NewDescription ) : void
NewDescription string New custom description to be included
Результат void

Add_Metadata_Prefix() публичный Метод

Add a new metadata prefix
public Add_Metadata_Prefix ( OAI_PMH_Metadata_Format NewPrefix ) : void
NewPrefix OAI_PMH_Metadata_Format New OAI-PMH metadata prefix and reader/writer
Результат void

Clear_Metadata_Prefixes() публичный Метод

Clears all the metadata prefixes
public Clear_Metadata_Prefixes ( ) : void
Результат void

OAI_PMH_Configuration() публичный Метод

OAI-PMG configuration information for this SobekCM instance
public OAI_PMH_Configuration ( ) : System
Результат System

Save_To_Config_File() публичный Метод

Save this OAI-PMH configuration to a XML config file
public Save_To_Config_File ( string FilePath ) : bool
FilePath string File/path for the resulting XML config file
Результат bool

Set_Default() публичный Метод

Sets the defautls for the metadata prefixes ( dublin core and marc21 )
public Set_Default ( ) : void
Результат void