ISOTelephone function

ISOTelephone

ISOTelephone

ISOTelephone

ISOTelephone class

Format

R6Class object.

Returns

Object of R6Class for modelling an ISO Telephone

Examples

md <- ISOTelephone$new() md$setVoice("myphonenumber") md$setFacsimile("myfacsimile") xml <- md$encode()

References

Author(s)

Emmanuel Blondel emmanuel.blondel1@gmail.com

Super classes

geometa::geometaLogger -> geometa::ISOAbstractObject -> ISOTelephone

Public fields

  • voice: voice

  • facsimile: facsimile

  • number: number

  • numberType: numberType

Methods

Public methods

Method new()

Initializes object

Usage

ISOTelephone$new(xml = NULL)

Arguments

  • xml: object of class XMLInternalNode-class

Method setVoice()

Set voice

Usage

ISOTelephone$setVoice(voice, locales = NULL)

Arguments

  • voice: voice

  • locales: list of localized voices. Default is NULL

Method setFacsimile()

Set facsimile

Usage

ISOTelephone$setFacsimile(facsimile, locales = NULL)

Arguments

  • facsimile: facsimile

  • locales: list of localized facsimiles. Default is NULL

Method setNumber()

Set number

Usage

ISOTelephone$setNumber(number, locales = NULL)

Arguments

  • number: number

  • locales: list of localized numbers Default is NULL

Method setNumberType()

Set numberType

Usage

ISOTelephone$setNumberType(numberType)

Arguments

  • numberType: numberType object of class ISOTelephoneType or any character

     among values returned by `ISOTelephoneType$values()`
    

Method clone()

The objects of this class are cloneable with this method.

Usage

ISOTelephone$clone(deep = FALSE)

Arguments

  • deep: Whether to make a deep clone.

  • Maintainer: Emmanuel Blondel
  • License: MIT + file LICENSE
  • Last published: 2025-01-29