Skip to contents

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 ResourceMeta
slot(object, name)

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

Arguments

object

the object

name

name of the slot

value

the new value

See also