ISOAddress: ISOAddress

ISOAddressR Documentation

ISOAddress

Description

ISOAddress

ISOAddress

Format

R6Class object.

Value

Object of R6Class for modelling an ISO Address

Super classes

geometa::geometaLogger -> geometa::ISOAbstractObject -> ISOAddress

Public fields

deliveryPoint

delivery point

city

city

postalCode

postal code

country

country

electronicMailAddress

email

Methods

Public methods

Inherited methods

Method new()

Initializes object

Usage
ISOAddress$new(xml = NULL)
Arguments
xml

object of class XMLInternalNode-class


Method setDeliveryPoint()

Set delivery point

Usage
ISOAddress$setDeliveryPoint(deliveryPoint, locales = NULL)
Arguments
deliveryPoint

delivery point

locales

list of localized names


Method setCity()

Set city

Usage
ISOAddress$setCity(city, locales = NULL)
Arguments
city

city

locales

list of localized names


Method setPostalCode()

Set postal code

Usage
ISOAddress$setPostalCode(postalCode, locales = NULL)
Arguments
postalCode

postal code

locales

list of localized names


Method setCountry()

Set country

Usage
ISOAddress$setCountry(country, locales = NULL)
Arguments
country

country

locales

list of localized names


Method setEmail()

Set email

Usage
ISOAddress$setEmail(email, locales = NULL)
Arguments
email

email

locales

list of localized names


Method clone()

The objects of this class are cloneable with this method.

Usage
ISOAddress$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Author(s)

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

References

ISO 19115:2003 - Geographic information – Metadata

Examples

 md <- ISOAddress$new()
 md$setDeliveryPoint("theaddress")
 md$setCity("thecity")
 md$setPostalCode("111")
 md$setCountry("France")
 md$setEmail("someone@theorg.org")
 xml <- md$encode()
 

geometa documentation built on May 29, 2024, 10:31 a.m.