slot-ResourceMeta-method: Access or set slot of S4 object

slot,ResourceMeta-methodR Documentation

Access or set slot of S4 object

Description

See methods::slot(). This version allows using "property" consistently for both LiteralMeta and ResourceMeta (which internally uses "rel" because RDFa does), which is easier to program. It also allows using "meta" as an alias for "children" for ResourceMeta, to be consistent with the corresponding slot for instances of Annotated.

Usage

## S4 method for signature 'ResourceMeta'
slot(object, name)

## S4 replacement method for signature 'ResourceMeta'
slot(object, name) <- value

Arguments

object

the object

name

name of the slot

value

the new value

See Also

methods::slot()


RNeXML documentation built on Feb. 16, 2023, 6:56 p.m.