slot,ResourceMeta-method {RNeXML} | R 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
[Package RNeXML version 2.4.11 Index]