AtomLink: Atom Link class

AtomLinkR Documentation

Atom Link class

Description

This class models an atom Link

Format

R6Class object.

Details

AtomLink

Value

Object of R6Class for modelling an Atom Link

Super classes

atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> AtomLink

Public fields

attrs

attrs

Methods

Public methods

Inherited methods

Method new()

Initializes an AtomLink

Usage
AtomLink$new(
  xml = NULL,
  rel = NULL,
  type = NULL,
  href = NULL,
  hreflang = NULL,
  title = NULL,
  length = NULL
)
Arguments
xml

object of class XMLInternalNode-class from XML

rel

rel

type

type

href

href

hreflang

hreflang

title

title

length

length


Method setRel()

Set relation

Usage
AtomLink$setRel(rel)
Arguments
rel

rel


Method setType()

Set type

Usage
AtomLink$setType(type)
Arguments
type

type


Method setHref()

Set href

Usage
AtomLink$setHref(href)
Arguments
href

href


Method setHreflang()

Set href lang

Usage
AtomLink$setHreflang(hreflang)
Arguments
hreflang

hreflang


Method setTitle()

Set title

Usage
AtomLink$setTitle(title)
Arguments
title

title


Method setLength()

Set length

Usage
AtomLink$setLength(length)
Arguments
length

length


Method clone()

The objects of this class are cloneable with this method.

Usage
AtomLink$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Author(s)

Emmanuel Blondel <emmanuel.blondel1@gmail.com>


atom4R documentation built on Nov. 18, 2022, 5:06 p.m.