C# Class GeoNorgeAPI.SimpleMetadata

Simple abstraction of the opengis metadata. Provides convenience methods for extracting information from the metadata object.
Mostrar archivo Open project: kartverket/GeoNorgeAPI Class Usage Examples

Public Methods

Method Description
CreateDataset ( ) : SimpleMetadata
CreateService ( ) : SimpleMetadata
GetEnglishValueFromFreeText ( CharacterString_PropertyType input ) : string
GetMetadata ( ) : MD_Metadata_Type
IsDataset ( ) : bool
IsDimensionGroup ( ) : bool
IsService ( ) : bool
SetLocale ( string locale ) : void
SimpleMetadata ( MD_Metadata_Type md ) : System

Construct simple metadata object based on the opengis metadata.

Private Methods

Method Description
AddOnlineResourceToMetadataExtensionInfo ( CI_OnlineResource_Type onlineResource ) : void
CreateExtent ( ) : EX_Extent_Type
CreateFreeTextElement ( string characterString, string englishLocalizedValue ) : PT_FreeText_PropertyType
CreateOrUpdateContactWithRole ( string roleCodeValue, SimpleContact contact ) : void
CreateResponsiblePartyFromSimpleContact ( SimpleContact contact ) : CI_ResponsibleParty_Type
CreateSimpleMetadata ( string hierarchyLevel, AbstractMD_Identification_Type identification ) : SimpleMetadata
DecimalFromString ( string input ) : Decimal_PropertyType
GetAbstractElement ( ) : CharacterString_PropertyType
GetContactInformationResponsiblePartyWithRole ( string roleCodeValue ) : CI_ResponsibleParty_Type
GetContactWithRole ( string roleCodeValue ) : SimpleContact
GetDatasetIdentification ( ) : MD_DataIdentification_Type
GetDateFromCitationWithType ( CI_Citation_Type citation, string dateType ) : DateTime?
GetEnglishValueFromFreeText ( MD_Keyword input ) : string
GetIdentification ( ) : AbstractMD_Identification_Type
GetIdentificationCitation ( ) : CI_Citation_Type
GetIdentificationExtents ( ) : www.opengis.net.EX_Extent_PropertyType[]
GetIdentificationNotNull ( ) : AbstractMD_Identification_Type
GetLinkOrNull ( MD_Keyword keywordElement ) : string
GetMetadataExtensionInfoNameWithApplicationProfile ( string applicationProfile ) : string
GetMetadataExtensionInfoURLWithApplicationProfile ( string applicationProfile ) : string
GetMetadataExtensionInfoWithApplicationProfile ( string applicationProfile ) : CI_OnlineResource_Type
GetProcessHistoryElement ( ) : CharacterString_PropertyType
GetPurposeElement ( ) : CharacterString_PropertyType
GetServiceIdentification ( ) : SV_ServiceIdentification_Type
GetSpecificUsageElement ( ) : CharacterString_PropertyType
GetStringOrNull ( CharacterString_PropertyType input ) : string
GetStringOrNull ( MD_Keyword keywordElement ) : string
GetSupplementalDescriptionElement ( ) : CharacterString_PropertyType
GetTitleElement ( ) : CharacterString_PropertyType
ParseDateProperty ( Date_PropertyType dateProperty ) : DateTime?
ParseResponsiblePartyToSimpleContact ( CI_ResponsibleParty_Type responsibleParty ) : SimpleContact
PopuplateResponsiblePartyFromSimpleContact ( CI_ResponsibleParty_Type responsibleParty, SimpleContact contact ) : CI_ResponsibleParty_Type
RemoveOnlineResourceMetadataExtensionInfoWithApplicationProfile ( string applicationProfile ) : void
SetTitleElement ( CharacterString_PropertyType element ) : void
UpdateCitationDateForType ( CI_Citation_Type citation, string dateType, System.DateTime incomingDateTime ) : void
createKeywordKey ( string keyword, SimpleKeyword simpleKeyword ) : string
toCharString ( string input ) : CharacterString_PropertyType

Method Details

CreateDataset() public static method

public static CreateDataset ( ) : SimpleMetadata
return SimpleMetadata

CreateService() public static method

public static CreateService ( ) : SimpleMetadata
return SimpleMetadata

GetEnglishValueFromFreeText() public method

public GetEnglishValueFromFreeText ( CharacterString_PropertyType input ) : string
input www.opengis.net.CharacterString_PropertyType
return string

GetMetadata() public method

public GetMetadata ( ) : MD_Metadata_Type
return www.opengis.net.MD_Metadata_Type

IsDataset() public method

public IsDataset ( ) : bool
return bool

IsDimensionGroup() public method

public IsDimensionGroup ( ) : bool
return bool

IsService() public method

public IsService ( ) : bool
return bool

SetLocale() public method

public SetLocale ( string locale ) : void
locale string
return void

SimpleMetadata() public method

Construct simple metadata object based on the opengis metadata.
public SimpleMetadata ( MD_Metadata_Type md ) : System
md www.opengis.net.MD_Metadata_Type The original metadata object
return System