| ISOContact | R Documentation |
ISOContact
ISOContact
R6Class object.
Object of R6Class for modelling an ISO Contact
geometa::geometaLogger -> geometa::ISOAbstractObject -> ISOContact
phonephone
addressaddress
onlineResourceonline resource
hoursOfServicehours of service
contactInstructionscontact instructions
contactTypecontact type
geometa::geometaLogger$ERROR()geometa::geometaLogger$INFO()geometa::geometaLogger$WARN()geometa::ISOAbstractObject$addFieldAttrs()geometa::ISOAbstractObject$addListElement()geometa::ISOAbstractObject$checkMetadataStandardCompliance()geometa::ISOAbstractObject$contains()geometa::ISOAbstractObject$createLocalisedProperty()geometa::ISOAbstractObject$decode()geometa::ISOAbstractObject$delListElement()geometa::ISOAbstractObject$encode()geometa::ISOAbstractObject$getClass()geometa::ISOAbstractObject$getClassName()geometa::ISOAbstractObject$getNamespaceDefinition()geometa::ISOAbstractObject$isDocument()geometa::ISOAbstractObject$isFieldInheritedFrom()geometa::ISOAbstractObject$print()geometa::ISOAbstractObject$save()geometa::ISOAbstractObject$setAttr()geometa::ISOAbstractObject$setCodeList()geometa::ISOAbstractObject$setCodeListValue()geometa::ISOAbstractObject$setCodeSpace()geometa::ISOAbstractObject$setHref()geometa::ISOAbstractObject$setId()geometa::ISOAbstractObject$setIsNull()geometa::ISOAbstractObject$setValue()geometa::ISOAbstractObject$stopIfMetadataStandardIsNot()geometa::ISOAbstractObject$validate()geometa::ISOAbstractObject$wrapBaseElement()new()Initializes object
ISOContact$new(xml = NULL)
xmlobject of class XMLInternalNode-class
setPhone()Set phone (with ISO 19139)
ISOContact$setPhone(phone)
phoneobject of class ISOTelephone
addPhone()Adds phone (with ISO 19115-3)
ISOContact$addPhone(phone)
phoneobject tof class ISOTelephone
TRUE if added, FALSE otherwise
delPhone()Deletes phone (with ISO 19115-3)
ISOContact$delPhone(phone)
phoneobject tof class ISOTelephone
TRUE if deleted, FALSE otherwise
setAddress()Set address (with ISO 19139)
ISOContact$setAddress(address)
addressobject of class ISOAddress
addAddress()Adds address (with ISO 19115-3)
ISOContact$addAddress(address)
addressobject of class ISOAddress
TRUE if added, FALSE otherwise
delAddress()Deletes address (with ISO 19115-3)
ISOContact$delAddress(address)
addressobject of class ISOAddress
TRUE if deleted, FALSE otherwise
setOnlineResource()Set online resource (with ISO 19139)
ISOContact$setOnlineResource(onlineResource)
onlineResourceonline resource, object of class ISOOnlineResource
addOnlineResource()Adds online resource (with ISO 19115-3)
ISOContact$addOnlineResource(onlineResource)
onlineResourceonline resource, object of class ISOOnlineResource
TRUE if added, FALSE otherwise
delOnlineResource()Deletes online resource (with ISO 19115-3)
ISOContact$delOnlineResource(onlineResource)
onlineResourceonline resource, object of class ISOOnlineResource
TRUE if deleted, FALSE otherwise
addHoursOfService()Adds hours of service (with ISO 19115-3)
ISOContact$addHoursOfService(hoursOfService)
hoursOfServiceobject of class character
TRUE if added, FALSE otherwise
delHoursOfService()Deletes hours of service (with ISO 19115-3)
ISOContact$delHoursOfService(hoursOfService)
hoursOfServiceobject of class character
TRUE if deleted, FALSE otherwise
setContactInstructions()Set contact instructions
ISOContact$setContactInstructions(contactInstructions, locales = NULL)
contactInstructionscontact instructions
localeslist of localized editions. Default is NULL
setContactType()Set contact type
ISOContact$setContactType(contactType, locales = NULL)
contactTypecontact type
localeslist of localized editions. Default is NULL
clone()The objects of this class are cloneable with this method.
ISOContact$clone(deep = FALSE)
deepWhether to make a deep clone.
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
- ISO 19139 https://schemas.isotc211.org/19139/-/gmd/1.0/gmd/#element_CI_Contact
- ISO 19115-3 https://schemas.isotc211.org/19115/-3/cit/2.0/cit/#element_CI_Contact
md <- ISOContact$new()
phone <- ISOTelephone$new()
phone$setVoice("myphonenumber")
phone$setFacsimile("myfacsimile")
md$setPhone(phone)
address <- ISOAddress$new()
address$setDeliveryPoint("theaddress")
address$setCity("thecity")
address$setPostalCode("111")
address$setCountry("France")
address$setEmail("someone@theorg.org")
md$setAddress(address)
res <- ISOOnlineResource$new()
res$setLinkage("http://www.somewhereovertheweb.org")
res$setName("somename")
md$setOnlineResource(res)
xml <- md$encode()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.