| Title: | Tools to Handle and Publish Metadata as 'Atom' XML Format |
|---|---|
| Description: | Provides tools to read/write/publish metadata based on the 'Atom' XML syndication format. This includes support of 'Dublin Core' XML implementation, and a client to API(s) implementing the 'AtomPub' - 'SWORD' API specification. |
| Authors: | Emmanuel Blondel [aut, cre] (ORCID: <https://orcid.org/0000-0002-5870-5762>) |
| Maintainer: | Emmanuel Blondel <[email protected]> |
| License: | MIT + file LICENSE |
| Version: | 0.3-4 |
| Built: | 2026-05-29 10:36:52 UTC |
| Source: | https://github.com/eblondel/atom4r |
Provides tools to read/write/publish metadata based on the Atom XML syndication format. This includes support of Dublin Core XML implementation, and a client to APIs implementing the AtomPub SWORD API specification.
Emmanuel Blondel [email protected]
Useful links:
atom4RLogger
atom4RLogger
R6Class object.
Object of R6Class for modelling a simple logger
verbose.infoIf package info log messages have to be printed out
verbose.debugIf curl debug log messages have to be printed out
loggerTypethe type of logger
logger()
Provides log messages
atom4RLogger$logger(type, text)
typetype of log ("INFO", "WARN", "ERROR")
textthe log message text
INFO()
Provides INFO log messages
atom4RLogger$INFO(text)
textthe log message text
WARN()
Provides WARN log messages
atom4RLogger$WARN(text)
textthe log message text
ERROR()
Provides ERROR log messages
atom4RLogger$ERROR(text)
textthe log message text
new()
Initalizes the logger
atom4RLogger$new(logger = NULL)
loggerlogger type "INFO", "DEBUG" or NULL
getClassName()
Get class name
atom4RLogger$getClassName()
object of class data.frame
getClass()
Get class
atom4RLogger$getClass()
object of class R6Class
clone()
The objects of this class are cloneable with this method.
atom4RLogger$clone(deep = FALSE)
deepWhether to make a deep clone.
Logger class used internally by atom4R
This class models an atom abstract object
R6Class object.
AtomAbstractObject
Object of R6Class for modelling an Atom abstract Object
atom4R::atom4RLogger -> AtomAbstractObject
wrapwrapping XML element
elementelement
namespacenamespace
defaultsdefaults
attrsattrs
printAttrsattrs to print
parentAttrsparent attrs
new()
Initializes an object of class AtomAbstractObject
AtomAbstractObject$new( xml = NULL, element = NULL, namespace = NULL, attrs = list(), defaults = list(), wrap = TRUE, logger = "INFO" )
xmlobject of class XMLInternalNode-class
elementelement
namespacenamespace
attrsattrs
defaultsdefaults
wrapwrap
loggerlogger type
setIsDocument()
Set if object is a document or not
AtomAbstractObject$setIsDocument(isDocument)
isDocumentobject of class logical
isDocument()
Informs if the object is a document
AtomAbstractObject$isDocument()
object of class logical
getRootElement()
Get root XML element
AtomAbstractObject$getRootElement()
object of class character
getNamespace()
Get XML namespace
AtomAbstractObject$getNamespace()
object of class character
createElement()
Creates an element
AtomAbstractObject$createElement(element, type = "text")
elementelement
typetype. Default is "text"
the typed element
addListElement()
Add a metadata element to an element list
AtomAbstractObject$addListElement(field, metadataElement)
fieldfield
metadataElementmetadata element to add
TRUE if added, FALSE otherwise
delListElement()
Deletes a metadata element from an element list
AtomAbstractObject$delListElement(field, metadataElement)
fieldfield
metadataElementmetadata element to add
TRUE if deleted, FALSE otherwise
contains()
Indicates if an element list contains or not an element
AtomAbstractObject$contains(field, metadataElement)
fieldfield
metadataElementmetadata element to add
TRUE if contained, FALSE otherwise
print()
Prints the element
AtomAbstractObject$print(..., depth = 1)
...any parameter to pass to print method
depthprinting depth
decode()
Decodes the object from an XML representation
AtomAbstractObject$decode(xml)
xmlobject of class XMLInternalNode-class from XML
encode()
Encodes the object as XML
AtomAbstractObject$encode( addNS = TRUE, validate = TRUE, strict = FALSE, encoding = "UTF-8" )
addNSwhether namespace has to be added. Default is TRUE
validatewhether validation has to be done vs. XML schemas. Default is TRUE
strictwhether strict validation has to be operated (raise an error if invalid). Default is FALSE
encodingencoding. Default is "UTF-8"
validate()
Validates the object / XML vs. XML schemas
AtomAbstractObject$validate(xml = NULL, strict = FALSE)
xmlobject of class XMLInternalNode-class from XML
strictstrict validation or not
TRUE if valid, FALSE otherwise
save()
Saves the object as XML file
AtomAbstractObject$save(file, ...)
filefile name
...any parameter to pass to encode() method
isFieldInheritedFrom()
Indicates the class from which field is inherited
AtomAbstractObject$isFieldInheritedFrom(field)
fieldfield
an object of class R6Class, or NULL
getClassName()
Get class name
AtomAbstractObject$getClassName()
object of class character
getClass()
Get class
AtomAbstractObject$getClass()
object of class R6Class
getNamespaceDefinition()
Get namespace definition
AtomAbstractObject$getNamespaceDefinition(recursive = FALSE)
recursiverecursive
a named list of the XML namespaces
getXmlElement()
Get XML element name
AtomAbstractObject$getXmlElement()
object of class character
clone()
The objects of this class are cloneable with this method.
AtomAbstractObject$clone(deep = FALSE)
deepWhether to make a deep clone.
abstract class used internally by atom4R
Emmanuel Blondel <[email protected]>
This class models an Atom Author
R6Class object.
AtomAuthor
Object of R6Class for modelling an Atom Author
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::AtomPerson -> AtomAuthor
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()atom4R::AtomPerson$setEmail()atom4R::AtomPerson$setName()atom4R::AtomPerson$setUri()new()
Initializes an AtomAuthor
AtomAuthor$new(xml = NULL, name = NULL, uri = NULL, email = NULL)
xmlobject of class XMLInternalNode-class from XML
namename
uriuri
emailclone()
The objects of this class are cloneable with this method.
AtomAuthor$clone(deep = FALSE)
deepWhether to make a deep clone.
Emmanuel Blondel <[email protected]>
## Not run: author <- AtomAuthor$new(name = "John Doe", email = "[email protected]") ## End(Not run)## Not run: author <- AtomAuthor$new(name = "John Doe", email = "[email protected]") ## End(Not run)
This class models an atom Category
R6Class object.
AtomCategory
Object of R6Class for modelling an Atom Category
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> AtomCategory
attrsattrs
valuevalue
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
Initializes an AtomCategory
AtomCategory$new( xml = NULL, value = NULL, term = NULL, scheme = NULL, label = NULL )
xmlobject of class XMLInternalNode-class from XML
valuevalue
termterm
schemescheme
labellabel
setTerm()
Set term
AtomCategory$setTerm(term)
termterm
setScheme()
Set scheme
AtomCategory$setScheme(scheme)
schemescheme
setLabel()
Set label
AtomCategory$setLabel(label)
labellabel
clone()
The objects of this class are cloneable with this method.
AtomCategory$clone(deep = FALSE)
deepWhether to make a deep clone.
Emmanuel Blondel <[email protected]>
This class models an Atom Contributor
R6Class object.
AtomContributor
Object of R6Class for modelling an Atom Contributor
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::AtomPerson -> AtomContributor
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()atom4R::AtomPerson$setEmail()atom4R::AtomPerson$setName()atom4R::AtomPerson$setUri()new()
Initializes an AtomContributor
AtomContributor$new(xml = NULL, name = NULL, uri = NULL, email = NULL)
xmlobject of class XMLInternalNode-class from XML
namename
uriuri
emailclone()
The objects of this class are cloneable with this method.
AtomContributor$clone(deep = FALSE)
deepWhether to make a deep clone.
Emmanuel Blondel <[email protected]>
## Not run: contrib <- AtomContributor$new(name = "John Doe", email = "[email protected]") ## End(Not run)## Not run: contrib <- AtomContributor$new(name = "John Doe", email = "[email protected]") ## End(Not run)
This class models an atom Entry
R6Class object.
AtomEntry
Object of R6Class for modelling an Atom Entry
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> AtomEntry
ididentifier
updatedUpdate date/time
publishedPublication date/time
titleTitle
summarySummary
rightsRights
sourceSource
authorAuthor(s)
contributorContributor(s)
categoryCategory
contentContent
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
Initializes an AtomEntry
AtomEntry$new(xml = NULL)
xmlobject of class XMLInternalNode-class from XML
setId()
Set ID
AtomEntry$setId(id)
idid
setUpdated()
Set updated date
AtomEntry$setUpdated(updated)
updatedobject of class Date or POSIXt
setPublished()
Set published date
AtomEntry$setPublished(published)
publishedobject of class Date or POSIXt
setTitle()
Set title
AtomEntry$setTitle(title, type = "text")
titletitle
typetype. Default is "text"
setSummary()
Set summary
AtomEntry$setSummary(summary, type = "text")
summarysummary
typetype. Default is "text"
setRights()
Set rights
AtomEntry$setRights(rights, type = "text")
rightsrights
typetype. Default is "text"
setSource()
Set source
AtomEntry$setSource(source, type = "text")
sourcesource
typetype. Default is "text"
addAuthor()
Adds author
AtomEntry$addAuthor(author)
authorobject of class AtomAuthor
TRUE if added, FALSE otherwise
delAuthor()
Deletes author
AtomEntry$delAuthor(author)
authorobject of class AtomAuthor
TRUE if deleted, FALSE otherwise
addContributor()
Adds contributor
AtomEntry$addContributor(contributor)
contributorobject of class AtomContributor
TRUE if added, FALSE otherwise
delContributor()
Deletes contributor
AtomEntry$delContributor(contributor)
contributorobject of class AtomContributor
TRUE if deleted, FALSE otherwise
addCategory()
Adds category
AtomEntry$addCategory(value, term, scheme = NULL, label = NULL)
valuevalue
termterm
schemescheme
labellabel
TRUE if added, FALSE otherwise
delCategory()
Deletes category
AtomEntry$delCategory(value, term, scheme = NULL, label = NULL)
valuevalue
termterm
schemescheme
labellabel
TRUE if deleted, FALSE otherwise
addLink()
Adds link
AtomEntry$addLink(link, rel = "alternate", type = "text/html")
linklink
relrelation. Default is "alternate"
typetype. Default is "text/html"
TRUE if added, FALSE otherwise
delLink()
Deletes link
AtomEntry$delLink(link, rel = "alternate", type = "text/html")
linklink
relrelation. Default is "alternate"
typetype. Default is "text/html"
TRUE if deleted, FALSE otherwise
setContent()
Set content
AtomEntry$setContent(content)
contentcontent
clone()
The objects of this class are cloneable with this method.
AtomEntry$clone(deep = FALSE)
deepWhether to make a deep clone.
Emmanuel Blondel <[email protected]>
## Not run: #encoding atom <- AtomEntry$new() atom$setId("my-atom-entry") atom$setTitle("My Atom feed entry") atom$setSummary("My Atom feed entry very comprehensive abstract") author1 <- AtomAuthor$new( name = "John Doe", uri = "http://www.atomxml.com/johndoe", email = "[email protected]" ) atom$addAuthor(author1) author2 <- AtomAuthor$new( name = "John Doe's sister", uri = "http://www.atomxml.com/johndoesister", email = "[email protected]" ) atom$addAuthor(author2) contrib1 <- AtomContributor$new( name = "Contrib1", uri = "http://www.atomxml.com/contrib1", email = "[email protected]" ) atom$addContributor(contrib1) contrib2 <- AtomContributor$new( name = "Contrib2", uri = "http://www.atomxml.com/contrib2", email = "[email protected]" ) atom$addContributor(contrib2) atom$addCategory("draft", "dataset") atom$addCategory("world", "spatial") atom$addCategory("fisheries", "domain") xml <- atom$encode() ## End(Not run)## Not run: #encoding atom <- AtomEntry$new() atom$setId("my-atom-entry") atom$setTitle("My Atom feed entry") atom$setSummary("My Atom feed entry very comprehensive abstract") author1 <- AtomAuthor$new( name = "John Doe", uri = "http://www.atomxml.com/johndoe", email = "[email protected]" ) atom$addAuthor(author1) author2 <- AtomAuthor$new( name = "John Doe's sister", uri = "http://www.atomxml.com/johndoesister", email = "[email protected]" ) atom$addAuthor(author2) contrib1 <- AtomContributor$new( name = "Contrib1", uri = "http://www.atomxml.com/contrib1", email = "[email protected]" ) atom$addContributor(contrib1) contrib2 <- AtomContributor$new( name = "Contrib2", uri = "http://www.atomxml.com/contrib2", email = "[email protected]" ) atom$addContributor(contrib2) atom$addCategory("draft", "dataset") atom$addCategory("world", "spatial") atom$addCategory("fisheries", "domain") xml <- atom$encode() ## End(Not run)
This class models an atom feed
R6Class object.
AtomFeed
Object of R6Class for modelling an Atom feed
new(xml)This method is used to create an Atom Feed
setId(id)Set identifier
setUpdated(updated)Set update date (object of class 'character' or 'POSIX')
addLink(link, rel, type)Adds a link. Default rel value is set to "alternate". Default
type value is set to "text/html"
delLink(link, rel, type)Deletes a link
setSelfLink(link)Sets a self-relation link
setAlternateLink(link, type)Sets an alternate-relation link. Default type is "text/html"
setTitle(title)Set title
setSubtitle(subtitle)Set subtitle
addAuthor(author)Adds an author, object of class AtomAuthor
delAuthor(author)Deletes an author, object of class AtomAuthor
addContributor(contributor)Adds a contributor, object of class AtomContributor
delContributor(contributor)Deletes a contributor, object of class AtomContributor
setGenerator(generator, type)Sets generator
setIcon(icon)Sets icon
addCategory(term, scheme, label)Adds a category
delCategory(term, scheme, label)Deletes a category
addEntry(entry)Adds an entry, object of class AtomEntry
delEntry(entry)Deletes an entry, object of class AtomEntry
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> AtomFeed
idIdentifier
updatedUpdate date
publishedPublication date
titleTitle
subtitleSubtitle
rightsRights (license, use, ...)
authorAuthor person
contributorContributor person
generatorGenerator
iconIcon
logoLogo
categoryCategory
linklinks
entryList of entries
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
Initializes a AtomFeed
AtomFeed$new(xml = NULL)
xmlobject of class XMLInternalNode-class from XML
setId()
Set ID
AtomFeed$setId(id)
idid
setUpdated()
Set updated date
AtomFeed$setUpdated(updated)
updatedobject of class Date or POSIXt
setPublished()
Set published date
AtomFeed$setPublished(published)
publishedobject of class Date or POSIXt
addLink()
Adds link
AtomFeed$addLink(link, rel = "alternate", type = "text/html")
linklink
relrelation. Default is "alternate"
typetype. Default is "text/html"
TRUE if added, FALSE otherwise
delLink()
Deletes link
AtomFeed$delLink(link, rel = "alternate", type = "text/html")
linklink
relrelation. Default is "alternate"
typetype. Default is "text/html"
TRUE if deleted, FALSE otherwise
setSelfLink()
Set self link
AtomFeed$setSelfLink(link)
linklink
TRUE if set, FALSE otherwise
setAlternateLink()
Set alternate link
AtomFeed$setAlternateLink(link, type = "text/html")
linklink
typetype. Default is "text/html"
TRUE if set, FALSE otherwise
setTitle()
Set title
AtomFeed$setTitle(title, type = "text")
titletitle
typetype. Default is "text"
setSubtitle()
Set subtitle
AtomFeed$setSubtitle(subtitle, type = "text")
subtitlesubtitle
typetype. Default is "text"
setRights()
Set rights
AtomFeed$setRights(rights, type = "text")
rightsrights
typetype. Default is "text"
addAuthor()
Adds author
AtomFeed$addAuthor(author)
authorobject of class AtomAuthor
TRUE if added, FALSE otherwise
delAuthor()
Deletes author
AtomFeed$delAuthor(author)
authorobject of class AtomAuthor
TRUE if deleted, FALSE otherwise
addContributor()
Adds contributor
AtomFeed$addContributor(contributor)
contributorobject of class AtomContributor
TRUE if added, FALSE otherwise
delContributor()
Deletes contributor
AtomFeed$delContributor(contributor)
contributorobject of class AtomContributor
TRUE if deleted, FALSE otherwise
setGenerator()
Set generator
AtomFeed$setGenerator(generator, type = "text")
generatorgenerator
typetype. Default is "text"
setIcon()
Set icon
AtomFeed$setIcon(icon)
iconicon
addCategory()
Adds category
AtomFeed$addCategory(value, term, scheme = NULL, label = NULL)
valuevalue
termterm
schemescheme
labellabel
TRUE if added, FALSE otherwise
delCategory()
Deletes category
AtomFeed$delCategory(value, term, scheme = NULL, label = NULL)
valuevalue
termterm
schemescheme
labellabel
TRUE if deleted, FALSE otherwise
addEntry()
Adds an entry
AtomFeed$addEntry(entry)
entryobject of class AtomEntry
TRUE if added, FALSE otherwise
delEntry()
Deletes an entry
AtomFeed$delEntry(entry)
entryobject of class AtomEntry
TRUE if deleted, FALSE otherwise
clone()
The objects of this class are cloneable with this method.
AtomFeed$clone(deep = FALSE)
deepWhether to make a deep clone.
Emmanuel Blondel <[email protected]>
#encoding atom <- AtomFeed$new() atom$setId("my-atom-feed") atom$setTitle("My Atom feed title") atom$setSubtitle("MyAtom feed subtitle") author1 <- AtomAuthor$new( name = "John Doe", uri = "http://www.atomxml.com/johndoe", email = "[email protected]" ) atom$addAuthor(author1) author2 <- AtomAuthor$new( name = "John Doe's sister", uri = "http://www.atomxml.com/johndoesister", email = "[email protected]" ) atom$addAuthor(author2) contrib1 <- AtomContributor$new( name = "Contrib1", uri = "http://www.atomxml.com/contrib1", email = "[email protected]" ) atom$addContributor(contrib1) contrib2 <- AtomContributor$new( name = "Contrib2", uri = "http://www.atomxml.com/contrib2", email = "[email protected]" ) atom$addContributor(contrib2) atom$setIcon("https://via.placeholder.com/300x150.png/03f/fff?text=atom4R") atom$setSelfLink("http://example.com/atom.feed") atom$setAlternateLink("http://example.com/my-atom-feed") atom$addCategory("draft", "dataset") atom$addCategory("world", "spatial") atom$addCategory("fisheries", "domain") #add entry entry <- AtomEntry$new() entry$setId("my-atom-entry") entry$setTitle("My Atom feed entry") entry$setSummary("My Atom feed entry very comprehensive abstract") author1 <- AtomAuthor$new( name = "John Doe", uri = "http://www.atomxml.com/johndoe", email = "[email protected]" ) entry$addAuthor(author1) author2 <- AtomAuthor$new( name = "John Doe's sister", uri = "http://www.atomxml.com/johndoesister", email = "[email protected]" ) entry$addAuthor(author2) contrib1 <- AtomContributor$new( name = "Contrib1", uri = "http://www.atomxml.com/contrib1", email = "[email protected]" ) entry$addContributor(contrib1) contrib2 <- AtomContributor$new( name = "Contrib2", uri = "http://www.atomxml.com/contrib2", email = "[email protected]" ) entry$addContributor(contrib2) entry$addCategory("draft", "dataset") entry$addCategory("world", "spatial") entry$addCategory("fisheries", "domain") atom$addEntry(entry) xml <- atom$encode()#encoding atom <- AtomFeed$new() atom$setId("my-atom-feed") atom$setTitle("My Atom feed title") atom$setSubtitle("MyAtom feed subtitle") author1 <- AtomAuthor$new( name = "John Doe", uri = "http://www.atomxml.com/johndoe", email = "[email protected]" ) atom$addAuthor(author1) author2 <- AtomAuthor$new( name = "John Doe's sister", uri = "http://www.atomxml.com/johndoesister", email = "[email protected]" ) atom$addAuthor(author2) contrib1 <- AtomContributor$new( name = "Contrib1", uri = "http://www.atomxml.com/contrib1", email = "[email protected]" ) atom$addContributor(contrib1) contrib2 <- AtomContributor$new( name = "Contrib2", uri = "http://www.atomxml.com/contrib2", email = "[email protected]" ) atom$addContributor(contrib2) atom$setIcon("https://via.placeholder.com/300x150.png/03f/fff?text=atom4R") atom$setSelfLink("http://example.com/atom.feed") atom$setAlternateLink("http://example.com/my-atom-feed") atom$addCategory("draft", "dataset") atom$addCategory("world", "spatial") atom$addCategory("fisheries", "domain") #add entry entry <- AtomEntry$new() entry$setId("my-atom-entry") entry$setTitle("My Atom feed entry") entry$setSummary("My Atom feed entry very comprehensive abstract") author1 <- AtomAuthor$new( name = "John Doe", uri = "http://www.atomxml.com/johndoe", email = "[email protected]" ) entry$addAuthor(author1) author2 <- AtomAuthor$new( name = "John Doe's sister", uri = "http://www.atomxml.com/johndoesister", email = "[email protected]" ) entry$addAuthor(author2) contrib1 <- AtomContributor$new( name = "Contrib1", uri = "http://www.atomxml.com/contrib1", email = "[email protected]" ) entry$addContributor(contrib1) contrib2 <- AtomContributor$new( name = "Contrib2", uri = "http://www.atomxml.com/contrib2", email = "[email protected]" ) entry$addContributor(contrib2) entry$addCategory("draft", "dataset") entry$addCategory("world", "spatial") entry$addCategory("fisheries", "domain") atom$addEntry(entry) xml <- atom$encode()
This class models an atom Link
R6Class object.
AtomLink
Object of R6Class for modelling an Atom Link
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> AtomLink
attrsattrs
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
Initializes an AtomLink
AtomLink$new( xml = NULL, rel = NULL, type = NULL, href = NULL, hreflang = NULL, title = NULL, length = NULL )
xmlobject of class XMLInternalNode-class from XML
relrel
typetype
hrefhref
hreflanghreflang
titletitle
lengthlength
setRel()
Set relation
AtomLink$setRel(rel)
relrel
setType()
Set type
AtomLink$setType(type)
typetype
setHref()
Set href
AtomLink$setHref(href)
hrefhref
setHreflang()
Set href lang
AtomLink$setHreflang(hreflang)
hreflanghreflang
setTitle()
Set title
AtomLink$setTitle(title)
titletitle
setLength()
Set length
AtomLink$setLength(length)
lengthlength
clone()
The objects of this class are cloneable with this method.
AtomLink$clone(deep = FALSE)
deepWhether to make a deep clone.
Emmanuel Blondel <[email protected]>
AtomNamespace
AtomNamespace
R6Class object.
Object of R6Class for modelling an Atom Namespace
idid
uriuri
new()
Initializes an AtomNamespace
AtomNamespace$new(id, uri)
idid
uriuri
getDefinition()
Get definition
AtomNamespace$getDefinition()
a named list defining the namespace
clone()
The objects of this class are cloneable with this method.
AtomNamespace$clone(deep = FALSE)
deepWhether to make a deep clone.
ISO class used internally by atom4R for specifying XML namespaces
Emmanuel Blondel <[email protected]>
This class models an Atom Person
R6Class object.
AtomPerson
Object of R6Class for modelling an Atom Person
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> AtomPerson
namename
uriuri
emailatom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
Initializes an AtomPerson
AtomPerson$new(xml = NULL, name = NULL, uri = NULL, email = NULL)
xmlobject of class XMLInternalNode-class from XML
namename
uriuri
emailsetName()
Set name
AtomPerson$setName(name)
namename
setUri()
Set URI
AtomPerson$setUri(uri)
uriuri
setEmail()
Set email
AtomPerson$setEmail(email)
emailclone()
The objects of this class are cloneable with this method.
AtomPerson$clone(deep = FALSE)
deepWhether to make a deep clone.
Abstract class used internally for person-like classes
Emmanuel Blondel <[email protected]>
This class models an AtomPub service client
R6Class object.
AtomPubClient
Object of R6Class for modelling an AtomPub client
new(url, user, pwd, token, keyring_backend)This method is to instantiate an AtomPub Client.
The keyring_backend can be set to use a different backend for storing
the Atom pub user token with keyring (Default value is 'env').
The logger can be either NULL, "INFO" (with minimum logs), or "DEBUG" (for complete curl http calls logs)
getUser()Retrieves user (if any specified).
getPwd()Retrieves user password (if any user specified).
getToken()Retrieves user token.
getServiceDocument()Gets service document description. Unimplemented in abstract classes.
listCollections(pretty)Lists the available collections. Use pretty to return a "data.frame" insteaf
of a list.
getCollectionMembers(collectionId)List members of a collection. Unimplemented in abstract classes.
atom4R::atom4RLogger -> AtomPubClient
serviceservice
new()
This method is to instantiate an Sword Client. By default the version is set to "2".
The keyring_backend can be set to use a different backend for storing
the SWORD API user token with keyring (Default value is 'env').
The logger allows to specify the level of log (default is NULL), either "INFO"
for atom4R logs or "DEBUG" for verbose HTTP client (curl) logs.
AtomPubClient$new( url, user = NULL, pwd = NULL, token = NULL, logger = NULL, keyring_backend = "env" )
urlurl
useruser
pwdpwd
tokentoken
loggerlogger
keyring_backendkeyring backend. Default is 'env'
getUser()
Get user
AtomPubClient$getUser()
object of class character
getPwd()
Get password
AtomPubClient$getPwd()
object of class character
getToken()
Get token
AtomPubClient$getToken()
object of class character
getServiceDocument()
Get service document
AtomPubClient$getServiceDocument()
forceforce Force getting/refreshing of service document
object of class SwordServiceDocument
listCollections()
List collections
AtomPubClient$listCollections(pretty = FALSE)
prettypretty
a list of collections, or data.frame
getCollectionMembers()
Get collection members. Unimplemented abstract method at AtomPubClient level
AtomPubClient$getCollectionMembers()
clone()
The objects of this class are cloneable with this method.
AtomPubClient$clone(deep = FALSE)
deepWhether to make a deep clone.
Abstract class used internally for AtomPub (Atom Publishing Protocol) clients
Emmanuel Blondel <[email protected]>
This class models an DublinCore 'abstract' element
R6Class object.
Object of R6Class for modelling an Dublin Core 'abstract' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> atom4R::DCDescription -> DCAbstract
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
Initializes an object of class DCAbstract
DCAbstract$new(xml = NULL, value = NULL)
xmlobject of class XMLInternalNode-class from XML
valuevalue
clone()
The objects of this class are cloneable with this method.
DCAbstract$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/terms/abstract
This class models an DublinCore 'accessRights' element
R6Class object.
Object of R6Class for modelling an Dublin Core 'accessRights' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> atom4R::DCRights -> DCAccessRights
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
Initializes an object of class DCAccessRights
DCAccessRights$new(xml = NULL, value = NULL)
xmlobject of class XMLInternalNode-class from XML
valuevalue
clone()
The objects of this class are cloneable with this method.
DCAccessRights$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/terms/accessRights
This class models an DublinCore 'accrualMethod' element
R6Class object.
Object of R6Class for modelling an Dublin Core 'accrualMethod' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> DCAccrualMethod
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
Initializes an object of class DCAccrualMethod
DCAccrualMethod$new(xml = NULL, value = NULL)
xmlobject of class XMLInternalNode-class from XML
valuevalue
clone()
The objects of this class are cloneable with this method.
DCAccrualMethod$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/terms/accrualMethod
This class models an DublinCore 'accrualPeriodicity' element
R6Class object.
Object of R6Class for modelling an Dublin Core 'accrualPeriodicity' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> DCAccrualPeriodicity
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
Initializes an object of class DCAccrualPeriodicity
DCAccrualPeriodicity$new(xml = NULL, value = NULL)
xmlobject of class XMLInternalNode-class from XML
valuevalue
clone()
The objects of this class are cloneable with this method.
DCAccrualPeriodicity$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/terms/accrualPeriodicity
This class models an DublinCore 'accrualPolicy' element
R6Class object.
Object of R6Class for modelling an Dublin Core 'accrualPolicy' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> DCAccrualPolicy
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
Initializes an object of class DCAccrualPolicy
DCAccrualPolicy$new(xml = NULL, value = NULL)
xmlobject of class XMLInternalNode-class from XML
valuevalue
clone()
The objects of this class are cloneable with this method.
DCAccrualPolicy$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/terms/accrualPolicy
This class models an DublinCore 'alternative' element
R6Class object.
Object of R6Class for modelling an Dublin Core 'alternative' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> atom4R::DCTitle -> DCAlternative
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
Initializes an object of class DCAlternative
DCAlternative$new(xml = NULL, value = NULL)
xmlobject of class XMLInternalNode-class from XML
valuevalue
clone()
The objects of this class are cloneable with this method.
DCAlternative$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/terms/alternative
This class models an DublinCore 'audience' element
R6Class object.
Object of R6Class for modelling an Dublin Core 'audience' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> DCAudience
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
Initializes an object of class DCAudience
DCAudience$new(xml = NULL, term = NULL, value = NULL)
xmlobject of class XMLInternalNode-class from XML
termterm
valuevalue
clone()
The objects of this class are cloneable with this method.
DCAudience$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/terms/audience
This class models an DublinCore 'available' element
R6Class object.
Object of R6Class for modelling an Dublin Core 'available' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> atom4R::DCDate -> DCAvailable
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
Initializes an object of class DCAvailable
DCAvailable$new(xml = NULL, value = NULL)
xmlobject of class XMLInternalNode-class from XML
valuevalue
clone()
The objects of this class are cloneable with this method.
DCAvailable$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/terms/available
This class models an DublinCore 'bibliographicCitation' element
R6Class object.
Object of R6Class for modelling an Dublin Core 'bibliographicCitation' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> atom4R::DCIdentifier -> DCBibliographicCitation
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
Initializes an object of class DCBibliographicCitation
DCBibliographicCitation$new(xml = NULL, value = NULL)
xmlobject of class XMLInternalNode-class from XML
valuevalue
clone()
The objects of this class are cloneable with this method.
DCBibliographicCitation$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/terms/bibliographicCitation
This class models an DublinCore 'conformsTo' element
R6Class object.
Object of R6Class for modelling an Dublin Core 'conformsTo' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> atom4R::DCRelation -> DCConformsTo
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
Initializes an object of class DCConformsTo
DCConformsTo$new(xml = NULL, value = NULL)
xmlobject of class XMLInternalNode-class from XML
valuevalue
clone()
The objects of this class are cloneable with this method.
DCConformsTo$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/terms/conformsTo
This class models an DublinCore 'contributor' element
R6Class object.
Object of R6Class for modelling an Dublin Core 'contributor' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> DCContributor
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
This method is used to create an Dublin core 'contributor' element.
Use dc to TRUE to use Dublin core namespace instead of DC terms.
DCContributor$new(xml = NULL, value = NULL, dc = FALSE)
xmlobject of class XMLInternalNode-class from XML
valuevalue
dcuse DC namespace?
clone()
The objects of this class are cloneable with this method.
DCContributor$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/terms/contributor
This class models an DublinCore Terms 'coverage' element
R6Class object.
Object of R6Class for modelling an Dublin Core Terms 'coverage' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> DCCoverage
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
This method is used to create an Dublin core 'coverage' element.
Use dc to TRUE to use Dublin core namespace instead of DC terms.
DCCoverage$new(xml = NULL, term = NULL, value = NULL, dc = FALSE)
xmlobject of class XMLInternalNode-class from XML
termterm
valuevalue
dcuse DC namespace?
clone()
The objects of this class are cloneable with this method.
DCCoverage$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/terms/coverage
This class models an DublinCore Terms 'date' element
R6Class object.
Object of R6Class for modelling an Dublin Core Terms 'date' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> atom4R::DCDate -> DCCreated
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
Initializes an object of class DCCreated
DCCreated$new(xml = NULL, value = NULL)
xmlobject of class XMLInternalNode-class from XML
valuevalue
clone()
The objects of this class are cloneable with this method.
DCCreated$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/terms/created
This class models an DublinCore 'creator' element
R6Class object.
Object of R6Class for modelling an Dublin Core 'creator' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> DCCreator
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
This method is used to create an Dublin core 'creator' element.
Use dc to TRUE to use Dublin core namespace instead of DC terms.
DCCreator$new(xml = NULL, value = NULL, dc = FALSE)
xmlobject of class XMLInternalNode-class from XML
valuevalue
dcuse DC namespace?
clone()
The objects of this class are cloneable with this method.
DCCreator$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/terms/creator
This class models an DublinCore 'date' element
R6Class object.
Object of R6Class for modelling an Dublin Core 'date' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> DCDate
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
This method is used to create an Dublin core 'date' element.
Use dc to TRUE to use Dublin core namespace instead of DC terms.
DCDate$new(xml = NULL, term = NULL, value = NULL, dc = FALSE)
xmlobject of class XMLInternalNode-class from XML
termterm
valuevalue
dcuse DC namespace?
clone()
The objects of this class are cloneable with this method.
DCDate$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/terms/date
This class models an DublinCore 'dateAccepted' element
R6Class object.
Object of R6Class for modelling an Dublin Core 'dateAccepted' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> atom4R::DCDate -> DCDateAccepted
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
Initializes an object of class DCDateAccepted
DCDateAccepted$new(xml = NULL, value = NULL)
xmlobject of class XMLInternalNode-class from XML
valuevalue
clone()
The objects of this class are cloneable with this method.
DCDateAccepted$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/terms/dateAccepted
This class models an DublinCore 'dateCopyrighted' element
R6Class object.
Object of R6Class for modelling an Dublin Core 'dateCopyrighted' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> atom4R::DCDate -> DCDateCopyrighted
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
Initializes an object of class DCDateCopyrighted
DCDateCopyrighted$new(xml = NULL, value = NULL)
xmlobject of class XMLInternalNode-class from XML
valuevalue
clone()
The objects of this class are cloneable with this method.
DCDateCopyrighted$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/terms/dateCopyrighted
This class models an DublinCore 'dateSubmitted' element
R6Class object.
Object of R6Class for modelling an Dublin Core 'dateSubmitted' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> atom4R::DCDate -> DCDateSubmitted
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
Initializes an object of class DCDateSubmitted
DCDateSubmitted$new(xml = NULL, value = NULL)
xmlobject of class XMLInternalNode-class from XML
valuevalue
clone()
The objects of this class are cloneable with this method.
DCDateSubmitted$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/terms/dateSubmitted
This class models an DublinCore 'description' element
R6Class object.
Object of R6Class for modelling an Dublin Core 'description' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> DCDescription
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
This method is used to create an Dublin core 'description' element.
Use dc to TRUE to use Dublin core namespace instead of DC terms.
DCDescription$new(xml = NULL, term = NULL, value = NULL, dc = FALSE)
xmlobject of class XMLInternalNode-class from XML
termterm
valuevalue
dcuse DC namespace?
clone()
The objects of this class are cloneable with this method.
DCDescription$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/terms/description
This class models an DublinCore 'educationalLevel' element
R6Class object.
Object of R6Class for modelling an Dublin Core 'educationalLevel' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> atom4R::DCAudience -> DCEducationalLevel
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
Initializes an object of class DCEducationalLevel
DCEducationalLevel$new(xml = NULL, value = NULL)
xmlobject of class XMLInternalNode-class from XML
valuevalue
clone()
The objects of this class are cloneable with this method.
DCEducationalLevel$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/terms/educationalLevel
This class models an DublinCore element
R6Class object.
DCElement
Object of R6Class for modelling an Dublin Core element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> DCElement
valuevalue
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
Initializes an abstract DCElement
DCElement$new( xml = NULL, term = NULL, value = NULL, vocabulary = NULL, extended = FALSE )
xmlobject of class XMLInternalNode-class from XML
termterm
valuevalue
vocabularyvocabulary
extendedextended
clone()
The objects of this class are cloneable with this method.
DCElement$clone(deep = FALSE)
deepWhether to make a deep clone.
Class used internally by atom4R
Emmanuel Blondel <[email protected]>
This class models an Dublin Core Entry
R6Class object.
DCEntry
Object of R6Class for modelling an Dublin Core Entry
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::AtomEntry -> DCEntry
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()atom4R::AtomEntry$addAuthor()atom4R::AtomEntry$addCategory()atom4R::AtomEntry$addContributor()atom4R::AtomEntry$addLink()atom4R::AtomEntry$delAuthor()atom4R::AtomEntry$delCategory()atom4R::AtomEntry$delContributor()atom4R::AtomEntry$delLink()atom4R::AtomEntry$setContent()atom4R::AtomEntry$setId()atom4R::AtomEntry$setPublished()atom4R::AtomEntry$setRights()atom4R::AtomEntry$setSource()atom4R::AtomEntry$setSummary()atom4R::AtomEntry$setTitle()atom4R::AtomEntry$setUpdated()new()
Initializes an object of class DCEntry
DCEntry$new(xml = NULL)
xmlobject of class XMLInternalNode-class from XML
addDCElement()
Adds a Dublin Core element
DCEntry$addDCElement(term, value, extended = FALSE)
termterm
valuevalue
extendedextended. Default is FALSE
TRUE if added, FALSE otherwise
delDCElement()
Deletes a Dublin Core element
DCEntry$delDCElement(term, value)
termterm
valuevalue
TRUE if deleted, FALSE otherwise
setDCElements()
Set a list of DC elements
DCEntry$setDCElements(term, values)
termterm
valuesvector of values
getDCElements()
Get a list of DC elements
DCEntry$getDCElements(term)
termterm
a list of objects extending DCElement
getDCElementByValue()
Get a DC element by value
DCEntry$getDCElementByValue(term, value)
termterm
valuevalue
addDCAbstract()
Adds DC abstract
DCEntry$addDCAbstract(abstract)
abstractobject of class DCAbstract or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCAbstract()
Deletes DC abstract
DCEntry$delDCAbstract(abstract)
abstractobject of class DCAbstract or vector of class character and length 1
setDCAbstracts()
Set DC abstracts
DCEntry$setDCAbstracts(abstracts)
abstractsabstracts, vector of class character
getDCAbstracts()
Get DC abstracts
DCEntry$getDCAbstracts()
a list of objects of class DCAbstract
addDCAccessRights()
Adds DC access rights
DCEntry$addDCAccessRights(accessRights)
accessRightsobject of class DCAccessRights or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCAccessRights()
Deletes DC access rights
DCEntry$delDCAccessRights(accessRights)
accessRightsobject of class DCAccessRights or vector of class character and length 1
setDCAccessRights()
Set access rights
DCEntry$setDCAccessRights(accessRights)
accessRightsvector of class character
getDCAccessRights()
Get DC access rights
DCEntry$getDCAccessRights()
a list of objects of class DCAccessRights
addDCAccrualMethod()
Adds DC accrual method
DCEntry$addDCAccrualMethod(accrualMethod)
accrualMethodobject of class DCAccrualMethod or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCAccrualMethod()
Deletes DC accrual method
DCEntry$delDCAccrualMethod(accrualMethod)
accrualMethodobject of class DCAccrualMethod or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCAccrualMethods()
Set DC accrual method
DCEntry$setDCAccrualMethods(accrualMethods)
accrualMethodsvector of class character
getDCAccrualMethods()
Get DC accrual method
DCEntry$getDCAccrualMethods()
a list of objects of class DCAccrualMethod
addDCAccrualPeriodicity()
Adds DC accrual periodicity
DCEntry$addDCAccrualPeriodicity(accrualPeriodicity)
accrualPeriodicityobject of class DCAccrualPeriodicity or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCAccrualPeriodicity()
Deletes DC accrual periodicity
DCEntry$delDCAccrualPeriodicity(accrualPeriodicity)
accrualPeriodicityobject of class DCAccrualPeriodicity or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCAccrualPeriodicities()
Set DC accrual periodicities
DCEntry$setDCAccrualPeriodicities(accrualPeriodicities)
accrualPeriodicitiesvector of class character
getDCAccrualPeriodicities()
Get DC accrual periodicities
DCEntry$getDCAccrualPeriodicities()
a list of objects of class DCAccrualPeriodicity
addDCAccrualPolicy()
Adds DC accrual policy
DCEntry$addDCAccrualPolicy(accrualPolicy)
accrualPolicyobject of class DCAccrualPolicy or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCAccrualPolicy()
Deletes DC accrual policy
DCEntry$delDCAccrualPolicy(accrualPolicy)
accrualPolicyobject of class DCAccrualPolicy or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCAccrualPolicies()
Set DC accrual policies
DCEntry$setDCAccrualPolicies(accrualPolicies)
accrualPoliciesvector of class character
getDCAccrualPolicies()
Get DC accrual policies
DCEntry$getDCAccrualPolicies()
a list of objects of class DCAccrualPolicy
addDCAlternative()
Adds DC alternative
DCEntry$addDCAlternative(alternative)
alternativeobject of class DCAlternative or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCAlternative()
Deletes DC alternative
DCEntry$delDCAlternative(alternative)
alternativeobject of class DCAlternative or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCAlternatives()
Set DC alternatives
DCEntry$setDCAlternatives(alternatives)
alternativesvector of class character
getDCAlternatives()
Get DC alternatives
DCEntry$getDCAlternatives()
a list of objects of class DCAlternative
addDCAudience()
Adds DC audience
DCEntry$addDCAudience(audience)
audienceobject of class DCAudience or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCAudience()
Deletes DC audience
DCEntry$delDCAudience(audience)
audienceobject of class DCAudience or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCAudiences()
Set DC audiences
DCEntry$setDCAudiences(audiences)
audiencesvector of class character
getDCAudiences()
Get DC audiences
DCEntry$getDCAudiences()
a list of objects of class DCAudience
addDCAvailable()
Adds DC available
DCEntry$addDCAvailable(available)
availableobject of class DCAvailable or vector of class Date,POSIXt or character and length 1
TRUE if added, FALSE otherwise
delDCAvailable()
Deletes DC available
DCEntry$delDCAvailable(available)
availableobject of class DCAvailable or vector of class Date,POSIXt or character and length 1
TRUE if deleted, FALSE otherwise
setDCAvailables()
Set DC availables
DCEntry$setDCAvailables(availables)
availablesvector of class character
getDCAvailables()
Get DC availables
DCEntry$getDCAvailables()
a list of objects of class DCAvailable
addDCBibliographicCitation()
Adds DC bibliographic citation
DCEntry$addDCBibliographicCitation(bibliographicCitation)
bibliographicCitationobject of class DCBibliographicCitation or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCBibliographicCitation()
Deletes DC bibliographic citation
DCEntry$delDCBibliographicCitation(bibliographicCitation)
bibliographicCitationobject of class DCBibliographicCitation or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCBibliographicCitations()
Set bibliographic citations
DCEntry$setDCBibliographicCitations(bibliographicCitations)
bibliographicCitationsvector of class character
getDCBibliographicCitations()
Get bibliographic citations
DCEntry$getDCBibliographicCitations()
the list of objects of class DCBibliographicCitation
addDCConformsTo()
Adds DC conforms to
DCEntry$addDCConformsTo(conformsTo)
conformsToobject of class DCConformsTo or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCConformsTo()
Deletes DC conforms to
DCEntry$delDCConformsTo(conformsTo)
conformsToobject of class DCConformsTo or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCConformsTo()
Set DC conforms to
DCEntry$setDCConformsTo(conformsTo)
conformsTovector of class character
getDCConformsTo()
Get DC conforms to
DCEntry$getDCConformsTo()
the list of objects of class DCConformsTo
addDCContributor()
Adds DC contributor
DCEntry$addDCContributor(contributor)
contributorobject of class DCContributor or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCContributor()
Deletes DC contributor
DCEntry$delDCContributor(contributor)
contributorobject of class DCContributor or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCContributors()
Set DC contributors
DCEntry$setDCContributors(contributors)
contributorsvector of class character
getDCContributors()
Get DC contributors
DCEntry$getDCContributors()
list of objects of class DCContributor
addDCCoverage()
Adds DC coverage
DCEntry$addDCCoverage(coverage)
coverageobject of class DCCoverage or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCCoverage()
Deletes DC coverage
DCEntry$delDCCoverage(coverage)
coverageobject of class DCCoverage or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCCoverages()
Set DC coverages
DCEntry$setDCCoverages(coverages)
coveragescoverages vector of class character
getDCCoverages()
Get DC coverages
DCEntry$getDCCoverages()
a list of objects of class DCCoverage
addDCCreated()
Adds DC created
DCEntry$addDCCreated(created)
TRUE if added, FALSE otherwise
delDCCreated()
Deletes DC created
DCEntry$delDCCreated(created)
TRUE if deleted, FALSE otherwise
addDCCreator()
Adds DC creator
DCEntry$addDCCreator(creator)
TRUE if added, FALSE otherwise
delDCCreator()
Deletes DC creator
DCEntry$delDCCreator(creator)
TRUE if deleted, FALSE otherwise
setDCCreators()
Set DC creators
DCEntry$setDCCreators(creators)
creatorscreators
getDCCreators()
Get DC creators
DCEntry$getDCCreators()
a list of objects of class DCCreator
addDCDate()
Adds DC date
DCEntry$addDCDate(date)
TRUE if added, FALSE otherwise
delDCDate()
Deletes DC date
DCEntry$delDCDate(date)
TRUE if deleted, FALSE otherwise
setDCDates()
Set DC Creators
DCEntry$setDCDates(dates)
getDCDates()
Get DC Dates
DCEntry$getDCDates()
a list of objects of class DCDate
addDCDateAccepted()
Adds DC date accepted
DCEntry$addDCDateAccepted(dateAccepted)
dateAcceptedobject of class DCDateAccepted or vector of class Date,POSIXt or character and length 1
TRUE if added, FALSE otherwise
delDCDateAccepted()
Deletes DC date accepted
DCEntry$delDCDateAccepted(dateAccepted)
dateAcceptedobject of class DCDateAccepted or vector of class Date,POSIXt or character and length 1
TRUE if deleted, FALSE otherwise
addDCDateCopyrighted()
Adds DC date copyrighted
DCEntry$addDCDateCopyrighted(dateCopyrighted)
dateCopyrightedobject of class DCDateCopyrighted or vector of class Date,POSIXt or character and length 1
TRUE if added, FALSE otherwise
delDCDateCopyrighted()
Deletes DC date copyrighted
DCEntry$delDCDateCopyrighted(dateCopyrighted)
dateCopyrightedobject of class DCDateCopyrighted or vector of class Date,POSIXt or character and length 1
TRUE if deleted, FALSE otherwise
addDCDateSubmitted()
Adds DC date submitted
DCEntry$addDCDateSubmitted(dateSubmitted)
dateSubmittedobject of class DCDateSubmitted or vector of class Date,POSIXt or character and length 1
TRUE if added, FALSE otherwise
delDCDateSubmitted()
Deletes DC date submitted
DCEntry$delDCDateSubmitted(dateSubmitted)
dateSubmittedobject of class DCDateSubmitted or vector of class Date,POSIXt or character and length 1
TRUE if deleted, FALSE otherwise
addDCDescription()
Adds DC description
DCEntry$addDCDescription(description)
descriptionobject of class DCDescription or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCDescription()
Deletes DC description
DCEntry$delDCDescription(description)
descriptionobject of class DCDescription or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCDescriptions()
Set DC descriptions
DCEntry$setDCDescriptions(descriptions)
descriptionsvector of class character
getDCDescriptions()
Get DC descriptions
DCEntry$getDCDescriptions()
a list of objects of class DCDescription
addDCEducationalLevel()
Adds DC educational level
DCEntry$addDCEducationalLevel(educationalLevel)
educationalLevelobject of class DCEducationalLevel or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCEducationalLevel()
Deletes DC educational level
DCEntry$delDCEducationalLevel(educationalLevel)
educationalLevelobject of class DCEducationalLevel or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCEducationalLevels()
set DC education levels
DCEntry$setDCEducationalLevels(educationLevels)
educationLevelsvector of class character
getDCEducationalLevels()
Get DC educational levels
DCEntry$getDCEducationalLevels()
a list of objects of class DCEducationalLevel
addDCExtent()
Adds DC extent
DCEntry$addDCExtent(extent)
TRUE if added, FALSE otherwise
delDCExtent()
Deletes DC extent
DCEntry$delDCExtent(extent)
TRUE if deleted, FALSE otherwise
setDCExtents()
Set DC extents
DCEntry$setDCExtents(extents)
extentsvector of class character
getDCExtents()
Get DC extents
DCEntry$getDCExtents()
a list of objects of class DCExtent
addDCFormat()
Adds DC format
DCEntry$addDCFormat(format)
TRUE if added, FALSE otherwise
delDCFormat()
Deletes DC format
DCEntry$delDCFormat(format)
TRUE if deleted, FALSE otherwise
setDCFormats()
Set DC formats
DCEntry$setDCFormats(formats)
formatsvector of class character
getDCFormats()
Get DC formats
DCEntry$getDCFormats()
a list of objects of class DCFormat
addDCHasPart()
Adds DC hasPart
DCEntry$addDCHasPart(hasPart)
TRUE if added, FALSE otherwise
delDCHasPart()
Deletes DC hasPart
DCEntry$delDCHasPart(hasPart)
TRUE if deleted, FALSE otherwise
setDCHasParts()
Set DC hasParts
DCEntry$setDCHasParts(hasParts)
hasPartsvector of class character
getDCHasParts()
Get DC has part
DCEntry$getDCHasParts()
a list of objects of class DCHasPart
addDCHasVersion()
Adds DC hasVersion
DCEntry$addDCHasVersion(hasVersion)
hasVersionobject of class DCHasVersion or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCHasVersion()
Deletes DC hasVersion
DCEntry$delDCHasVersion(hasVersion)
hasVersionobject of class DCHasVersion or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCHasVersions()
Set DC hasVersions
DCEntry$setDCHasVersions(hasVersions)
hasVersionsvector of class character
getDCHasVersions()
Get DC has versions
DCEntry$getDCHasVersions()
a list of objects of class DCHasVersion
addDCIdentifier()
Adds DC identifier
DCEntry$addDCIdentifier(identifier)
identifierobject of class DCIdentifier or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCIdentifier()
Deletes DC identifier
DCEntry$delDCIdentifier(identifier)
identifierobject of class DCIdentifier or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCIdentifiers()
Set DC identifiers
DCEntry$setDCIdentifiers(identifiers)
identifiersvector of class character
getDCIdentifiers()
Get DC identifiers
DCEntry$getDCIdentifiers()
a list of objects of class DCIdentifier
addDCInstructionalMethod()
Adds DC instructionalMethod
DCEntry$addDCInstructionalMethod(instructionalMethod)
instructionalMethodobject of class DCInstructionalMethod or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCInstructionalMethod()
Deletes DC instructionalMethod
DCEntry$delDCInstructionalMethod(instructionalMethod)
instructionalMethodobject of class DCInstructionalMethod or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCInstructionalMethods()
Set DC Instructional methods
DCEntry$setDCInstructionalMethods(instructionalMethods)
instructionalMethodsvector of class character
getDCInstructionalMethods()
Get DC instructional methods
DCEntry$getDCInstructionalMethods()
a list of objects of class DCInstructionalMethod
addDCIsPartOf()
Adds DC isPartOf
DCEntry$addDCIsPartOf(isPartOf)
isPartOfobject of class DCIsPartOf or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCIsPartOf()
Deletes DC isPartOf
DCEntry$delDCIsPartOf(isPartOf)
isPartOfobject of class DCIsPartOf or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCIsPartOf()
Set DC IsPartOf
DCEntry$setDCIsPartOf(isPartOf)
isPartOfvector of class character
getDCIsPartOfs()
Get DC Is Part of
DCEntry$getDCIsPartOfs()
a list of objects of class DCIsPartOf
addDCIsReferencedBy()
Adds DC isReferencedBy
DCEntry$addDCIsReferencedBy(isReferencedBy)
isReferencedByobject of class DCIsReferencedBy or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCIsReferencedBy()
Deletes DC isReferencedBy
DCEntry$delDCIsReferencedBy(isReferencedBy)
isReferencedByobject of class DCIsReferencedBy or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCIsReferencedBys()
Set DC isReferencedBys
DCEntry$setDCIsReferencedBys(isReferencedBys)
isReferencedBysvector of class character
getDCIsReferencedBys()
Get DC Is Referenced by
DCEntry$getDCIsReferencedBys()
a list of objects of class DCIsReferencedBy
addDCIsReplacedBy()
Adds DC isReplacedBy
DCEntry$addDCIsReplacedBy(isReplacedBy)
isReplacedByobject of class DCIsReplacedBy or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCIsReplacedBy()
Deletes DC isReferencedBy
DCEntry$delDCIsReplacedBy(isReplacedBy)
isReplacedByobject of class DCIsReplacedBy or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCIsReplacedBys()
Set DC isReplacedBys
DCEntry$setDCIsReplacedBys(isReplacedBys)
isReplacedBysvector of class character
getDCIsReplacedBys()
Get DC Is Replaced by
DCEntry$getDCIsReplacedBys()
a list of objects of class DCIsReplacedBy
addDCIsRequiredBy()
Adds DC isRequiredBy
DCEntry$addDCIsRequiredBy(isRequiredBy)
isRequiredByobject of class DCIsRequiredBy or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCIsRequiredBy()
Deletes DC isRequiredBy
DCEntry$delDCIsRequiredBy(isRequiredBy)
isRequiredByobject of class DCIsRequiredBy or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCIsRequiredBys()
Set DC isRequiredBys
DCEntry$setDCIsRequiredBys(isRequiredBys)
isRequiredBysvector of class character
getDCIsRequiredBys()
Get DC Is Required by
DCEntry$getDCIsRequiredBys()
a list of objects of class DCIsRequiredBy
addDCIsVersionOf()
Adds DC isVersionOf
DCEntry$addDCIsVersionOf(isVersionOf)
isVersionOfobject of class DCIsVersionOf or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCIsVersionOf()
Deletes DC isVersionOf
DCEntry$delDCIsVersionOf(isVersionOf)
isVersionOfobject of class DCIsVersionOf or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCIsVersionOfs()
Set DC isVersionOfs
DCEntry$setDCIsVersionOfs(isVersionOfs)
isVersionOfsvector of class character
getDCIsVersionOfs()
Get DC Is Version Ofs
DCEntry$getDCIsVersionOfs()
a list of objects of class DCIsVersionOf
addDCIssued()
Adds DC issued
DCEntry$addDCIssued(issued)
TRUE if added, FALSE otherwise
delDCIssued()
Deletes DC issued
DCEntry$delDCIssued(issued)
TRUE if deleted, FALSE otherwise
addDCLanguage()
Adds DC language
DCEntry$addDCLanguage(language)
languageobject of class DCLanguage or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCLanguage()
Deletes DC language
DCEntry$delDCLanguage(language)
languageobject of class DCLanguage or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCLanguages()
Set DC languages
DCEntry$setDCLanguages(languages)
languageslanguages vector of class character
getDCLanguages()
Get languages
DCEntry$getDCLanguages()
a list of objects of class DCLanguage
addDCLicense()
Adds DC license
DCEntry$addDCLicense(license)
TRUE if added, FALSE otherwise
delDCLicense()
Deletes DC license
DCEntry$delDCLicense(license)
TRUE if deleted, FALSE otherwise
setDCLicenses()
Set DC licences
DCEntry$setDCLicenses(licenses)
licensesvector of class character
getDCLicenses()
Get DC licenses
DCEntry$getDCLicenses()
a list of objects of class DCLicense
addDCMediator()
Adds DC mediator
DCEntry$addDCMediator(mediator)
mediatorobject of class DCMediator or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCMediator()
Deletes DC mediator
DCEntry$delDCMediator(mediator)
mediatorobject of class DCMediator or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCMediators()
Set DC mediators
DCEntry$setDCMediators(mediators)
mediatorsvector of class character
getDCMediators()
Get DC mediators
DCEntry$getDCMediators()
a list of objects of class DCMediator
addDCMedium()
Adds DC medium
DCEntry$addDCMedium(medium)
TRUE if added, FALSE otherwise
delDCMedium()
Deletes DC medium
DCEntry$delDCMedium(medium)
TRUE if deleted, FALSE otherwise
setDCMediums()
Set DC mediums
DCEntry$setDCMediums(mediums)
mediumsvector of class character
getDCMediums()
Get DC mediums
DCEntry$getDCMediums()
a list of objects of class DCMedium
addDCModified()
Adds DC modified
DCEntry$addDCModified(modified)
modifiedobject of class DCModified or vector of class Date,POSIXt or character and length 1
TRUE if added, FALSE otherwise
delDCModified()
Deletes DC modified
DCEntry$delDCModified(modified)
modifiedobject of class DCModified or vector of class Date,POSIXt or character and length 1
TRUE if deletes, FALSE otherwise
addDCProvenance()
Adds DC provenance
DCEntry$addDCProvenance(provenance)
provenanceobject of class DCProvenance or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCProvenance()
Deletes DC provenance
DCEntry$delDCProvenance(provenance)
provenanceobject of class DCProvenance or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCProvenances()
Set DC provenances
DCEntry$setDCProvenances(provenances)
provenancesvector of class character
getDCProvenances()
Get DC provenances
DCEntry$getDCProvenances()
a list of objects of class DCProvenance
addDCPublisher()
Adds DC publisher
DCEntry$addDCPublisher(publisher)
publisherobject of class DCPublisher or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCPublisher()
Deletes DC publisher
DCEntry$delDCPublisher(publisher)
publisherobject of class DCPublisher or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCPublishers()
Set DC publishers
DCEntry$setDCPublishers(publishers)
publishersvector of class character
getDCPublishers()
Get DC publishers
DCEntry$getDCPublishers()
a list of objects of class DCPublisher
addDCReferences()
Adds DC references
DCEntry$addDCReferences(references)
referencesobject of class DCReferences or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCReferences()
Deletes DC references
DCEntry$delDCReferences(references)
referencesobject of class DCReferences or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCReferences()
Set DC references
DCEntry$setDCReferences(references)
referencesvector of class character
getDCReferences()
Get DC references
DCEntry$getDCReferences()
a list of objects of class DCReferences
addDCRelation()
Adds DC relation
DCEntry$addDCRelation(relation)
relationobject of class DCRelation or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCRelation()
Deletes DC relation
DCEntry$delDCRelation(relation)
relationobject of class DCRelation or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCRelations()
Set DC relations
DCEntry$setDCRelations(relations)
relationsvector of class character
getDCRelations()
Get DC relations
DCEntry$getDCRelations()
a list of objects of class DCRelation
addDCReplaces()
Adds DC replaces
DCEntry$addDCReplaces(replaces)
replacesobject of class DCReplaces or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCReplaces()
Deletes DC replaces
DCEntry$delDCReplaces(replaces)
replacesobject of class DCReplaces or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCReplaces()
Set DC replaces
DCEntry$setDCReplaces(replaces)
replacesvector of class character
getDCReplaces()
Get DC replaces
DCEntry$getDCReplaces()
a list of objects of class DCReplaces
addDCRequires()
Adds DC requires
DCEntry$addDCRequires(requires)
requiresobject of class DCRequires or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCRequires()
Deletes DC requires
DCEntry$delDCRequires(requires)
requiresobject of class DCRequires or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCRequires()
Set DC requires
DCEntry$setDCRequires(requires)
requiresvector of class character
getDCRequires()
Get DC requires
DCEntry$getDCRequires()
a list of objects of class DCRequires
addDCRights()
Adds DC rights
DCEntry$addDCRights(rights)
TRUE if added, FALSE otherwise
delDCRights()
Deletes DC rights
DCEntry$delDCRights(rights)
TRUE if deleted, FALSE otherwise
setDCRights()
Set DC rights
DCEntry$setDCRights(rights)
rightsvector of class character
getDCRights()
Get DC rights
DCEntry$getDCRights()
a list of objects of class DCRights
addDCRightsHolder()
Adds DC rightsHolder
DCEntry$addDCRightsHolder(rightsHolder)
rightsHolderobject of class DCRightsHolder or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCRightsHolder()
Deletes DC rightsHolder
DCEntry$delDCRightsHolder(rightsHolder)
rightsHolderobject of class DCRightsHolder or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCRightsHolders()
Set DC rights holders
DCEntry$setDCRightsHolders(rightsHolders)
rightsHoldersvector of class character
getDCRightsHolders()
Get DC rights holders
DCEntry$getDCRightsHolders()
a list of objects of class DCRightsHolder
addDCSource()
Adds DC source
DCEntry$addDCSource(source)
TRUE if added, FALSE otherwise
delDCSource()
Deletes DC source
DCEntry$delDCSource(source)
TRUE if deleted, FALSE otherwise
setDCSources()
Set DC sources
DCEntry$setDCSources(sources)
sourcesvector of class character
getDCSources()
Get DC sources
DCEntry$getDCSources()
a list of objects of class DCSource
addDCSubject()
Adds DC subject
DCEntry$addDCSubject(subject)
TRUE if added, FALSE otherwise
delDCSubject()
Deletes DC subject
DCEntry$delDCSubject(subject)
TRUE if deleted, FALSE otherwise
setDCSubjects()
Set DC subjects
DCEntry$setDCSubjects(subjects)
subjectsvector of class character
getDCSubjects()
Get DC Subjects
DCEntry$getDCSubjects()
a list of objects of class DCSubject
addDCTableOfContents()
Adds DC tableOfContents
DCEntry$addDCTableOfContents(tableOfContents)
tableOfContentsobject of class DCTableOfContents or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCTableOfContents()
Deletes DC tableOfContents
DCEntry$delDCTableOfContents(tableOfContents)
tableOfContentsobject of class DCTableOfContents or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCTablesOfContents()
Set DC tables of contents
DCEntry$setDCTablesOfContents(tablesOfContents)
tablesOfContentsvector of class character
getDCTablesOfContent()
Get DC tables of contents
DCEntry$getDCTablesOfContent()
a list of objects of class DCTableOfContents
addDCTemporal()
Adds DC temporal
DCEntry$addDCTemporal(temporal)
temporalobject of class DCTemporal or vector of class character and length 1
TRUE if added, FALSE otherwise
delDCTemporal()
Deletes DC temporal
DCEntry$delDCTemporal(temporal)
temporalobject of class DCTemporal or vector of class character and length 1
TRUE if deleted, FALSE otherwise
setDCTemporals()
Set DC temporals
DCEntry$setDCTemporals(temporals)
temporalsvector of class character
getDCTemporals()
Get DC temporals
DCEntry$getDCTemporals()
a list of objects of class DCTemporal
addDCTitle()
Adds DC title
DCEntry$addDCTitle(title)
TRUE if added, FALSE otherwise
delDCTitle()
Deletes DC title
DCEntry$delDCTitle(title)
TRUE if deleted, FALSE otherwise
setDCTitles()
Set DC titles
DCEntry$setDCTitles(titles)
titlesvector of class character
getDCTitles()
Get DC titles
DCEntry$getDCTitles()
a list of objects of class DCTitle
addDCType()
Adds DC type
DCEntry$addDCType(type)
TRUE if added, FALSE otherwise
delDCType()
Deletes DC type
DCEntry$delDCType(type)
TRUE if deleted, FALSE otherwise
setDCTypes()
Set DC Types
DCEntry$setDCTypes(types)
typesvector of class character
getDCTypes()
Get DC types
DCEntry$getDCTypes()
a list of objects of class DCType
asDataFrame()
export to a data.frame
DCEntry$asDataFrame()
an object of class data.frame
clone()
The objects of this class are cloneable with this method.
DCEntry$clone(deep = FALSE)
deepWhether to make a deep clone.
Emmanuel Blondel <[email protected]>
#encoding dcentry <- DCEntry$new() dcentry$setId("my-dc-entry") #fill dc entry dcentry$addDCDate(Sys.time()) dcentry$addDCTitle("atom4R - Tools to read/write and publish metadata as Atom XML format") dcentry$addDCType("Software") creator <- DCCreator$new(value = "Blondel, Emmanuel") creator$attrs[["affiliation"]] <- "Independent" dcentry$addDCCreator(creator) dcentry$addDCSubject("R") dcentry$addDCSubject("FAIR") dcentry$addDCSubject("Interoperability") dcentry$addDCSubject("Open Science") dcentry$addDCDescription("Atom4R offers tools to read/write and publish metadata as Atom XML") dcentry$addDCPublisher("GitHub") funder <- DCContributor$new(value = "CNRS") funder$attrs[["type"]] <- "Funder" dcentry$addDCContributor(funder) dcentry$addDCRelation("Github repository: https://github.com/eblondel/atom4R") dcentry$addDCSource("Atom Syndication format - https://www.ietf.org/rfc/rfc4287") dcentry$addDCSource("AtomPub, The Atom publishing protocol - https://tools.ietf.org/html/rfc5023") dcentry$addDCSource("Sword API - http://swordapp.org/") dcentry$addDCSource("Dublin Core Metadata Initiative - https://www.dublincore.org/") dcentry$addDCSource("Guidelines for implementing Dublin Core in XML") dcentry$addDCLicense("NONE") dcentry$addDCRights("MIT License") dcentry$addDCHasPart("part1") dcentry$addDCHasPart("part2") dcentry$addDCHasVersion("0.2") dcentry$addDCIsPartOf("CRAN") dcentry$addDCIsPartOf("GitHub") dcentry$addDCIsReferencedBy("CRAN") dcentry$addDCIsReferencedBy("GitHub") dcentry$addDCIsRequiredBy("zen4R") dcentry$addDCIsRequiredBy("cloud4R") xml <- dcentry$encode() #decoding dcentry2 <- DCEntry$new(xml = xml) xml2 <- dcentry2$encode()#encoding dcentry <- DCEntry$new() dcentry$setId("my-dc-entry") #fill dc entry dcentry$addDCDate(Sys.time()) dcentry$addDCTitle("atom4R - Tools to read/write and publish metadata as Atom XML format") dcentry$addDCType("Software") creator <- DCCreator$new(value = "Blondel, Emmanuel") creator$attrs[["affiliation"]] <- "Independent" dcentry$addDCCreator(creator) dcentry$addDCSubject("R") dcentry$addDCSubject("FAIR") dcentry$addDCSubject("Interoperability") dcentry$addDCSubject("Open Science") dcentry$addDCDescription("Atom4R offers tools to read/write and publish metadata as Atom XML") dcentry$addDCPublisher("GitHub") funder <- DCContributor$new(value = "CNRS") funder$attrs[["type"]] <- "Funder" dcentry$addDCContributor(funder) dcentry$addDCRelation("Github repository: https://github.com/eblondel/atom4R") dcentry$addDCSource("Atom Syndication format - https://www.ietf.org/rfc/rfc4287") dcentry$addDCSource("AtomPub, The Atom publishing protocol - https://tools.ietf.org/html/rfc5023") dcentry$addDCSource("Sword API - http://swordapp.org/") dcentry$addDCSource("Dublin Core Metadata Initiative - https://www.dublincore.org/") dcentry$addDCSource("Guidelines for implementing Dublin Core in XML") dcentry$addDCLicense("NONE") dcentry$addDCRights("MIT License") dcentry$addDCHasPart("part1") dcentry$addDCHasPart("part2") dcentry$addDCHasVersion("0.2") dcentry$addDCIsPartOf("CRAN") dcentry$addDCIsPartOf("GitHub") dcentry$addDCIsReferencedBy("CRAN") dcentry$addDCIsReferencedBy("GitHub") dcentry$addDCIsRequiredBy("zen4R") dcentry$addDCIsRequiredBy("cloud4R") xml <- dcentry$encode() #decoding dcentry2 <- DCEntry$new(xml = xml) xml2 <- dcentry2$encode()
This class models an DublinCore 'extent' element
R6Class object.
Object of R6Class for modelling an Dublin Core 'extent' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> atom4R::DCFormat -> DCExtent
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
Initializes an object of class DCExtent
DCExtent$new(xml = NULL, value = NULL)
xmlobject of class XMLInternalNode-class from XML
valuevalue
clone()
The objects of this class are cloneable with this method.
DCExtent$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/terms/extent
This class models an DublinCore 'format' element
R6Class object.
Object of R6Class for modelling an Dublin Core 'format' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> DCFormat
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
Initializes an object of class DCFormat
DCFormat$new(xml = NULL, term = NULL, value = NULL)
xmlobject of class XMLInternalNode-class from XML
termterm
valuevalue
clone()
The objects of this class are cloneable with this method.
DCFormat$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/terms/format
This class models an DublinCore 'hasPart' element
R6Class object.
Object of R6Class for modelling an Dublin Core Terms 'hasPart' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> DCHasPart
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
This method is used to create an Dublin core 'hasPart' element.
Use dc to TRUE to use Dublin core namespace instead of DC terms.
DCHasPart$new(xml = NULL, value = NULL, dc = FALSE)
xmlobject of class XMLInternalNode-class from XML
valuevalue
dcuse DC namespace?
clone()
The objects of this class are cloneable with this method.
DCHasPart$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/hasPart
This class models an DublinCore 'hasVersion' element
R6Class object.
Object of R6Class for modelling an Dublin Core Terms 'hasPart' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> DCHasVersion
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
This method is used to create an Dublin core 'hasVersion' element.
Use dc to TRUE to use Dublin core namespace instead of DC terms.
DCHasVersion$new(xml = NULL, value = NULL, dc = FALSE)
xmlobject of class XMLInternalNode-class from XML
valuevalue
dcuse DC namespace?
clone()
The objects of this class are cloneable with this method.
DCHasVersion$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/hasVersion
This class models an DublinCore 'identifier' element
R6Class object.
Object of R6Class for modelling an Dublin Core 'identifier' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> DCIdentifier
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
This method is used to create an Dublin core 'identifier' element.
Use dc to TRUE to use Dublin core namespace instead of DC terms.
DCIdentifier$new(xml = NULL, term = NULL, value = NULL, dc = FALSE)
xmlobject of class XMLInternalNode-class from XML
termterm
valuevalue
dcuse DC namespace?
clone()
The objects of this class are cloneable with this method.
DCIdentifier$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/terms/identifier
This class models an DublinCore 'instructionalMethod' element
R6Class object.
Object of R6Class for modelling an Dublin Core 'instructionalMethod' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> DCInstructionalMethod
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
Initializes an object of class DCInstructionalMethod
DCInstructionalMethod$new(xml = NULL, value = NULL)
xmlobject of class XMLInternalNode-class from XML
valuevalue
clone()
The objects of this class are cloneable with this method.
DCInstructionalMethod$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/terms/instructionalMethod
This class models an DublinCore 'isPartOf' element
R6Class object.
Object of R6Class for modelling an Dublin Core Terms 'isPartOf' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> DCIsPartOf
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
This method is used to create an Dublin core 'isPartOf' element.
Use dc to TRUE to use Dublin core namespace instead of DC terms.
DCIsPartOf$new(xml = NULL, value = NULL, dc = FALSE)
xmlobject of class XMLInternalNode-class from XML
valuevalue
dcuse DC namespace?
clone()
The objects of this class are cloneable with this method.
DCIsPartOf$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/isPartOf
This class models an DublinCore 'isReferencedBy' element
R6Class object.
Object of R6Class for modelling an Dublin Core Terms 'isReferencedBy' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> DCIsReferencedBy
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
This method is used to create an Dublin core 'isReferencedBy' element.
Use dc to TRUE to use Dublin core namespace instead of DC terms.
DCIsReferencedBy$new(xml = NULL, value = NULL, dc = FALSE)
xmlobject of class XMLInternalNode-class from XML
valuevalue
dcuse DC namespace?
clone()
The objects of this class are cloneable with this method.
DCIsReferencedBy$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/isReferencedBy
This class models an DublinCore 'isReplacedBy' element
R6Class object.
Object of R6Class for modelling an Dublin Core Terms 'isReplacedBy' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> DCIsReplacedBy
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
This method is used to create an Dublin core 'isReplacedBy' element.
Use dc to TRUE to use Dublin core namespace instead of DC terms.
DCIsReplacedBy$new(xml = NULL, value = NULL, dc = FALSE)
xmlobject of class XMLInternalNode-class from XML
valuevalue
dcuse DC namespace?
clone()
The objects of this class are cloneable with this method.
DCIsReplacedBy$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/isReplacedBy
This class models an DublinCore 'isRequiredBy' element
R6Class object.
Object of R6Class for modelling an Dublin Core Terms 'isRequiredBy' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> DCIsRequiredBy
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
This method is used to create an Dublin core 'isRequiredBy' element.
Use dc to TRUE to use Dublin core namespace instead of DC terms.
DCIsRequiredBy$new(xml = NULL, value = NULL, dc = FALSE)
xmlobject of class XMLInternalNode-class from XML
valuevalue
dcuse DC namespace?
clone()
The objects of this class are cloneable with this method.
DCIsRequiredBy$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/isRequiredBy
This class models an DublinCore 'issued' element
R6Class object.
Object of R6Class for modelling an Dublin Core Terms 'issued' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> atom4R::DCDate -> DCIssued
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
Initializes an object of class DCIssued
DCIssued$new(xml = NULL, value = NULL)
xmlobject of class XMLInternalNode-class from XML
valuevalue
clone()
The objects of this class are cloneable with this method.
DCIssued$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/terms/issued
This class models an DublinCore 'isVersionOf' element
R6Class object.
Object of R6Class for modelling an Dublin Core Terms 'isVersionOf' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> DCIsVersionOf
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
This method is used to create an Dublin core 'isVersionOf' element.
Use dc to TRUE to use Dublin core namespace instead of DC terms.
DCIsVersionOf$new(xml = NULL, value = NULL, dc = FALSE)
xmlobject of class XMLInternalNode-class from XML
valuevalue
dcuse DC namespace?
clone()
The objects of this class are cloneable with this method.
DCIsVersionOf$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/#http://purl.org/dc/terms/isVersionOf
This class models an DublinCore 'language' element
R6Class object.
Object of R6Class for modelling an Dublin Core Terms 'language' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> DCLanguage
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
This method is used to create an Dublin core 'language' element.
Use dc to TRUE to use Dublin core namespace instead of DC terms.
DCLanguage$new(xml = NULL, value = NULL, dc = FALSE)
xmlobject of class XMLInternalNode-class from XML
valuevalue
dcuse DC namespace?
clone()
The objects of this class are cloneable with this method.
DCLanguage$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/terms/language
This class models an DublinCore 'license' element
R6Class object.
Object of R6Class for modelling an Dublin Core Terms 'license' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> atom4R::DCRights -> DCLicense
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
Initializes an object of class DCLicense
DCLicense$new(xml = NULL, value = NULL)
xmlobject of class XMLInternalNode-class from XML
valuevalue
clone()
The objects of this class are cloneable with this method.
DCLicense$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/terms/license
This class models an DublinCore 'mediator' element
R6Class object.
Object of R6Class for modelling an Dublin Core Terms 'mediator' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> atom4R::DCAudience -> DCMediator
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
Initializes an object of class DCMediator
DCMediator$new(xml = NULL, value = NULL)
xmlobject of class XMLInternalNode-class from XML
valuevalue
clone()
The objects of this class are cloneable with this method.
DCMediator$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/terms/mediator
This class models an DublinCore 'medium' element
R6Class object.
Object of R6Class for modelling an Dublin Core Terms 'medium' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> atom4R::DCFormat -> DCMedium
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
Initializes an object of class DCMedium
DCMedium$new(xml = NULL, value = NULL)
xmlobject of class XMLInternalNode-class from XML
valuevalue
clone()
The objects of this class are cloneable with this method.
DCMedium$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/terms/medium
This class models an DCMI Vocabulary
R6Class object.
DCMIVocabulary
Object of R6Class for modelling an Dublin Core element
idid
docdoc
representationrepresentation
datadata
new()
This method is used to read a DCMI vocabulary RDF doc. The format corresponds to
the RDF format as used by rdflib rdf_parse function.
DCMIVocabulary$new(id, doc, format, fetch = TRUE)
idid
docdoc
formatformat
fetchfetch
fetch()
Runs a Sparql query over the RDF vocabulary to fetch the vocabulary content.
DCMIVocabulary$fetch()
clone()
The objects of this class are cloneable with this method.
DCMIVocabulary$clone(deep = FALSE)
deepWhether to make a deep clone.
Emmanuel Blondel <[email protected]>
This class models an DublinCore 'modified' element
R6Class object.
Object of R6Class for modelling an Dublin Core Terms 'modified' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> atom4R::DCDate -> DCModified
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
Initializes an object of class DCModified
DCModified$new(xml = NULL, value = NULL)
xmlobject of class XMLInternalNode-class from XML
valuevalue
clone()
The objects of this class are cloneable with this method.
DCModified$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/terms/modified
This class models an DublinCore 'provenance' element
R6Class object.
Object of R6Class for modelling an Dublin Core Terms 'provenance' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> DCProvenance
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
Initializes an object of class DCProvenance
DCProvenance$new(xml = NULL, value = NULL)
xmlobject of class XMLInternalNode-class from XML
valuevalue
clone()
The objects of this class are cloneable with this method.
DCProvenance$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/terms/provenance
This class models an DublinCore 'publisher' element
R6Class object.
Object of R6Class for modelling an Dublin Core Terms 'publisher' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> DCPublisher
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
This method is used to create an Dublin core 'publisher' element.
Use dc to TRUE to use Dublin core namespace instead of DC terms.
DCPublisher$new(xml = NULL, value = NULL, dc = FALSE)
xmlobject of class XMLInternalNode-class from XML
valuevalue
dcuse DC namespace?
clone()
The objects of this class are cloneable with this method.
DCPublisher$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/terms/publisher
This class models an DublinCore 'references' element
R6Class object.
Object of R6Class for modelling an Dublin Core Terms 'references' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> atom4R::DCRelation -> DCReferences
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
Initializes an object of class DCReferences
DCReferences$new(xml = NULL, value = NULL)
xmlobject of class XMLInternalNode-class from XML
valuevalue
clone()
The objects of this class are cloneable with this method.
DCReferences$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/terms/references
This class models an DublinCore 'relation' element
R6Class object.
Object of R6Class for modelling an Dublin Core Terms 'relation' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> DCRelation
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
This method is used to create an Dublin core 'relation' element.
Use dc to TRUE to use Dublin core namespace instead of DC terms.
DCRelation$new(xml = NULL, term = NULL, value = NULL, dc = FALSE)
xmlobject of class XMLInternalNode-class from XML
termterm
valuevalue
dcuse DC namespace?
clone()
The objects of this class are cloneable with this method.
DCRelation$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/terms/relation
This class models an DublinCore 'replaces' element
R6Class object.
Object of R6Class for modelling an Dublin Core Terms 'replaces' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> atom4R::DCRelation -> DCReplaces
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
Initializes an object of class DCReplaces
DCReplaces$new(xml = NULL, value = NULL)
xmlobject of class XMLInternalNode-class from XML
valuevalue
clone()
The objects of this class are cloneable with this method.
DCReplaces$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/terms/replaces
This class models an DublinCore 'requires' element
R6Class object.
Object of R6Class for modelling an Dublin Core Terms 'requires' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> atom4R::DCRelation -> DCRequires
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
Initializes an object of class DCRequires
DCRequires$new(xml = NULL, value = NULL)
xmlobject of class XMLInternalNode-class from XML
valuevalue
clone()
The objects of this class are cloneable with this method.
DCRequires$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/terms/requires
This class models an DublinCore 'rights' element
R6Class object.
Object of R6Class for modelling an Dublin Core Terms 'rights' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> DCRights
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
This method is used to create an Dublin core 'rights' element.
Use dc to TRUE to use Dublin core namespace instead of DC terms.
DCRights$new(xml = NULL, term = NULL, value = NULL, dc = FALSE)
xmlobject of class XMLInternalNode-class from XML
termterm
valuevalue
dcuse DC namespace?
clone()
The objects of this class are cloneable with this method.
DCRights$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/terms/rights
This class models an DublinCore 'rightsHolder' element
R6Class object.
Object of R6Class for modelling an Dublin Core Terms 'rightsHolder' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> DCRightsHolder
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
Initializes an object of class DCRightsHolder
DCRightsHolder$new(xml = NULL, value = NULL)
xmlobject of class XMLInternalNode-class from XML
valuevalue
clone()
The objects of this class are cloneable with this method.
DCRightsHolder$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/terms/rightsHolder
This class models an DublinCore 'source' element
R6Class object.
Object of R6Class for modelling an Dublin Core Terms 'source' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> atom4R::DCRelation -> DCSource
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
This method is used to create an Dublin core 'source' element.
Use dc to TRUE to use Dublin core namespace instead of DC terms.
DCSource$new(xml = NULL, value = NULL, dc = FALSE)
xmlobject of class XMLInternalNode-class from XML
valuevalue
dcuse DC namespace?
clone()
The objects of this class are cloneable with this method.
DCSource$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/terms/source
This class models an DublinCore 'spatial' element
R6Class object.
Object of R6Class for modelling an Dublin Core Terms 'spatial' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> atom4R::DCCoverage -> DCSpatial
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
Initializes an object of class DCSpatial
DCSpatial$new(xml = NULL, value = NULL)
xmlobject of class XMLInternalNode-class from XML
valuevalue
clone()
The objects of this class are cloneable with this method.
DCSpatial$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/terms/spatial
This class models an DublinCore 'subject' element
R6Class object.
Object of R6Class for modelling an Dublin Core Terms 'subject' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> DCSubject
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
This method is used to create an Dublin core 'subject' element.
Use dc to TRUE to use Dublin core namespace instead of DC terms.
DCSubject$new(xml = NULL, value = NULL, dc = FALSE)
xmlobject of class XMLInternalNode-class from XML
valuevalue
dcuse DC namespace?
clone()
The objects of this class are cloneable with this method.
DCSubject$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/terms/subject
This class models an DublinCore 'tableOfContents' element
R6Class object.
Object of R6Class for modelling an Dublin Core Terms 'tableOfContents' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> atom4R::DCDescription -> DCTableOfContents
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
Initializes an object of class DCTableOfContents
DCTableOfContents$new(xml = NULL, value = NULL)
xmlobject of class XMLInternalNode-class from XML
valuevalue
clone()
The objects of this class are cloneable with this method.
DCTableOfContents$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/terms/tableOfContents
This class models an DublinCore 'temporal' element
R6Class object.
Object of R6Class for modelling an Dublin Core Terms 'temporal' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> atom4R::DCCoverage -> DCTemporal
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
Initializes an object of class DCTemporal
DCTemporal$new(xml = NULL, value = NULL)
xmlobject of class XMLInternalNode-class from XML
valuevalue
clone()
The objects of this class are cloneable with this method.
DCTemporal$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/terms/temporal
This class models an DublinCore 'title' element
R6Class object.
Object of R6Class for modelling an Dublin Core Terms 'title' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> DCTitle
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
This method is used to create an Dublin core 'title' element.
Use dc to TRUE to use Dublin core namespace instead of DC terms.
DCTitle$new(xml = NULL, term = NULL, value = NULL, dc = FALSE)
xmlobject of class XMLInternalNode-class from XML
termterm
valuevalue
dcuse DC namespace?
clone()
The objects of this class are cloneable with this method.
DCTitle$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/terms/title
This class models an DublinCore 'type' element
R6Class object.
Object of R6Class for modelling an Dublin Core Terms 'type' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> DCType
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
This method is used to create an Dublin core 'type' element.
Use dc to TRUE to use Dublin core namespace instead of DC terms.
DCType$new(xml = NULL, value = NULL, dc = FALSE)
xmlobject of class XMLInternalNode-class from XML
valuevalue
dcuse DC namespace?
clone()
The objects of this class are cloneable with this method.
DCType$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/terms/type
This class models an DublinCore 'valid' element
R6Class object.
Object of R6Class for modelling an Dublin Core Terms 'valid' element
atom4R::atom4RLogger -> atom4R::AtomAbstractObject -> atom4R::DCElement -> atom4R::DCDate -> DCValid
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$logger()atom4R::AtomAbstractObject$addListElement()atom4R::AtomAbstractObject$contains()atom4R::AtomAbstractObject$createElement()atom4R::AtomAbstractObject$decode()atom4R::AtomAbstractObject$delListElement()atom4R::AtomAbstractObject$encode()atom4R::AtomAbstractObject$getClass()atom4R::AtomAbstractObject$getClassName()atom4R::AtomAbstractObject$getNamespace()atom4R::AtomAbstractObject$getNamespaceDefinition()atom4R::AtomAbstractObject$getRootElement()atom4R::AtomAbstractObject$getXmlElement()atom4R::AtomAbstractObject$isDocument()atom4R::AtomAbstractObject$isFieldInheritedFrom()atom4R::AtomAbstractObject$print()atom4R::AtomAbstractObject$save()atom4R::AtomAbstractObject$setIsDocument()atom4R::AtomAbstractObject$validate()new()
Initializes an object of class DCValid
DCValid$new(xml = NULL, value = NULL)
xmlobject of class XMLInternalNode-class from XML
valuevalue
clone()
The objects of this class are cloneable with this method.
DCValid$clone(deep = FALSE)
deepWhether to make a deep clone.
Dublin Core Metadata Initiative. https://www.dublincore.org/specifications/dublin-core/dcmi-terms/terms/valid
get the list of Atom classes, ie classes extending AtomAbstractObject super class, including classes eventually defined outside atom4R. In case the latter is on the search path, the list of Atom classes will be cached for optimized used by atom4R encoder/decoder.
getAtomClasses()getAtomClasses()
Emmanuel Blondel, [email protected]
getAtomClasses()getAtomClasses()
getAtomNamespace gets a namespace given its id
getAtomNamespace(id)getAtomNamespace(id)
id |
namespace prefix |
Emmanuel Blondel, [email protected]
getAtomNamespace("GMD")getAtomNamespace("GMD")
getAtomNamespaces gets the list of namespaces registered
getAtomNamespaces()getAtomNamespaces()
Emmanuel Blondel, [email protected]
getAtomNamespaces()getAtomNamespaces()
getAtomSchemas gets the schemas registered in atom4R
getAtomSchemas()getAtomSchemas()
Emmanuel Blondel, [email protected]
getAtomSchemas()getAtomSchemas()
get the list of classes inheriting a given super class provided by its name
getClassesInheriting(classname, extended, pretty)getClassesInheriting(classname, extended, pretty)
classname |
the name of the superclass for which inheriting sub-classes have to be listed |
extended |
whether we want to look at user namespace for third-party sub-classes |
pretty |
prettify the output as |
getClassesInheriting("DCElement")getClassesInheriting("DCElement")
getDCMIVocabularies allows to get the list of DCMI Vocabularies
registered in atom4R
getDCMIVocabularies()getDCMIVocabularies()
Emmanuel Blondel, [email protected]
getDCMIVocabularies()getDCMIVocabularies()
getDCMIVocabulary allows to get a registered DCMI Vocabulary by id
registered in atom4R
getDCMIVocabulary(id)getDCMIVocabulary(id)
id |
identifier of the vocabulary |
Emmanuel Blondel, [email protected]
getDCMIVocabulary(id = "http://purl.org/dc/dcmitype/")getDCMIVocabulary(id = "http://purl.org/dc/dcmitype/")
readDCEntry is a function to read a DC XML entry from a file
or url into an object in the atom4R model.
readDCEntry(file, url, raw)readDCEntry(file, url, raw)
file |
a valid file path, as object of class |
url |
a valid URL, as object of class |
raw |
indicates if the function should return the raw XML. By
default this is set to |
a atom4R object inheriting DCEntry
Emmanuel Blondel, [email protected]
dcfile <- paste0( "https://raw.githubusercontent.com/eblondel/atom4R/master/", "inst/extdata/examples/zenodo_dc_export.xml" ) dc <- readDCEntry(dcfile)dcfile <- paste0( "https://raw.githubusercontent.com/eblondel/atom4R/master/", "inst/extdata/examples/zenodo_dc_export.xml" ) dc <- readDCEntry(dcfile)
registerAtomNamespace allows to register a new namespace
in atom4R
registerAtomNamespace(id, uri, force)registerAtomNamespace(id, uri, force)
id |
prefix of the namespace |
uri |
URI of the namespace |
force |
logical parameter indicating if registration has be to be forced in case the identified namespace is already registered |
Emmanuel Blondel, [email protected]
registerAtomNamespace(id = "myprefix", uri = "http://someuri")registerAtomNamespace(id = "myprefix", uri = "http://someuri")
registerAtomSchema allows to register a new schema
in atom4R
registerAtomSchema(xsdFile)registerAtomSchema(xsdFile)
xsdFile |
the schema XSD file |
Emmanuel Blondel, [email protected]
atom_xsd_file <- system.file("extdata/schemas/atom/atom.xsd", package = "atom4R") registerAtomSchema(xsdFile = atom_xsd_file)atom_xsd_file <- system.file("extdata/schemas/atom/atom.xsd", package = "atom4R") registerAtomSchema(xsdFile = atom_xsd_file)
setMetadataNamespaces
setAtomNamespaces()setAtomNamespaces()
setDCMIVocabularies
setDCMIVocabularies()setDCMIVocabularies()
This class models an Sword service client
R6Class object.
SwordClient
Object of R6Class for modelling an Sword client
atom4R::atom4RLogger -> atom4R::AtomPubClient -> SwordClient
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$getClass()atom4R::atom4RLogger$getClassName()atom4R::atom4RLogger$logger()atom4R::AtomPubClient$getPwd()atom4R::AtomPubClient$getToken()atom4R::AtomPubClient$getUser()atom4R::AtomPubClient$listCollections()new()
This method is to instantiate an Sword Client. By default the version is set to "2".
The keyring_backend can be set to use a different backend for storing
the SWORD API user token with keyring (Default value is 'env').
The logger allows to specify the level of log (default is NULL), either "INFO"
for atom4R logs or "DEBUG" for verbose HTTP client (curl) logs.
SwordClient$new( url, version = "2", user = NULL, pwd = NULL, token = NULL, logger = NULL, keyring_backend = "env" )
urlurl
versionversion. Default is "2"
useruser
pwdpwd
tokentoken
loggerlogger
keyring_backendkeyring backend. Default is 'env'
getServiceDocument()
Get service document
SwordClient$getServiceDocument(force = FALSE)
forceforce Force getting/refreshing of service document
object of class SwordServiceDocument
getCollectionMembers()
Get collection members. Unimplemented abstract method at SwordClient level
SwordClient$getCollectionMembers()
clone()
The objects of this class are cloneable with this method.
SwordClient$clone(deep = FALSE)
deepWhether to make a deep clone.
Abstract class
Emmanuel Blondel <[email protected]>
This class models an Sword service Dataverse-specific API client
R6Class object.
SwordDataverseClient
Object of R6Class for modelling an Sword Dataverse-specific APIclient
atom4R::atom4RLogger -> atom4R::AtomPubClient -> atom4R::SwordClient -> SwordDataverseClient
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$getClass()atom4R::atom4RLogger$getClassName()atom4R::atom4RLogger$logger()atom4R::AtomPubClient$getPwd()atom4R::AtomPubClient$getToken()atom4R::AtomPubClient$getUser()atom4R::AtomPubClient$listCollections()new()
This method is to instantiate an Sword API Dataverse-specific Client.
The keyring_backend can be set to use a different backend for storing
the SWORD DataVerse API user token with keyring (Default value is 'env').
The logger allows to specify the level of log (default is NULL), either "INFO"
for atom4R logs or "DEBUG" for verbose HTTP client (curl) logs.
SwordDataverseClient$new( hostname, token = NULL, logger = NULL, keyring_backend = "env" )
hostnamehost name
tokentoken
loggerlogger
keyring_backendkeyring backend. Default is 'env'
getServiceDocument()
Get service document
SwordDataverseClient$getServiceDocument(force = FALSE)
forceforce Force getting/refreshing of service document
object of class SwordServiceDocument
getCollectionMembers()
Get collection members
SwordDataverseClient$getCollectionMembers(collectionId)
collectionIdcollection ID
a list of AtomFeed
getDataverses()
Get dataverses. Equivalent to listCollections() from AtomPubClient
SwordDataverseClient$getDataverses(pretty = FALSE)
prettyprettify output as data.frame. Default is FALSE
an object of class data.frame
getDataverse()
Get dataverse members by dataverse name. Equivlaent to getCollectionMembers()
SwordDataverseClient$getDataverse(dataverse)
dataversedataverse name
a list of AtomFeed
editDataverseEntry()
Edits a dataverse entry
SwordDataverseClient$editDataverseEntry(identifier)
identifieridentifier
an object of class AtomEntry
getDataverseRecord()
Get dataverse record
SwordDataverseClient$getDataverseRecord(identifier)
identifieridentifier
an object of class AtomFeed
createDataverseRecord()
Creates a dataverse record
SwordDataverseClient$createDataverseRecord(dataverse, entry)
dataversedataverse name
entryentry
thecreated AtomEntry
updateDataverseRecord()
Updates a dataverse record
SwordDataverseClient$updateDataverseRecord(dataverse, entry, identifier)
dataversedataverse name
entryentry
identifieridentifier of the entry to update
thecreated AtomEntry
deleteDataverseRecord()
Deletes a dataverse record
SwordDataverseClient$deleteDataverseRecord(identifier)
identifieridentifier
TRUE if deleted, or returns an error otherwise
publishDataverseRecord()
Publishes a dataverse record
SwordDataverseClient$publishDataverseRecord(identifier)
identifieridentifier
the published AtomEntry
addFilesToDataverseRecord()
Add files to a dataverse record
SwordDataverseClient$addFilesToDataverseRecord(identifier, files)
identifieridentifier
filesfiles
deleteFilesFromDataverseRecord()
Deletes files from a Dataverse record
SwordDataverseClient$deleteFilesFromDataverseRecord(identifier, files = NULL)
identifieridentifier
filesfiles
an object of class data.frame giving each file and it's deletion status
clone()
The objects of this class are cloneable with this method.
SwordDataverseClient$clone(deep = FALSE)
deepWhether to make a deep clone.
Emmanuel Blondel <[email protected]>
## Not run: #connect to SWORD Dataverse API SWORD <- SwordDataverseClient$new( hostname = "localhost:8085", token = "<token>", logger = "DEBUG" ) #for detailed operations check the wiki at: #https://github.com/eblondel/atom4R/wiki#atom4R-publish-sword-dataverse ## End(Not run)## Not run: #connect to SWORD Dataverse API SWORD <- SwordDataverseClient$new( hostname = "localhost:8085", token = "<token>", logger = "DEBUG" ) #for detailed operations check the wiki at: #https://github.com/eblondel/atom4R/wiki#atom4R-publish-sword-dataverse ## End(Not run)
This class models an Sword service client for HAL (Archives Houvertes)
R6Class object.
SwordHalClient
Object of R6Class for modelling an Sword client
atom4R::atom4RLogger -> atom4R::AtomPubClient -> atom4R::SwordClient -> SwordHalClient
atom4R::atom4RLogger$ERROR()atom4R::atom4RLogger$INFO()atom4R::atom4RLogger$WARN()atom4R::atom4RLogger$getClass()atom4R::atom4RLogger$getClassName()atom4R::atom4RLogger$logger()atom4R::AtomPubClient$getPwd()atom4R::AtomPubClient$getToken()atom4R::AtomPubClient$getUser()atom4R::AtomPubClient$listCollections()new()
This method is to instantiate an Sword HAL (Archive Ouvertes - https://hal.science/) Client. By default the version is set to "2".
The keyring_backend can be set to use a different backend for storing
the SWORD API user token with keyring (Default value is 'env').
The logger allows to specify the level of log (default is NULL), either "INFO"
for atom4R logs or "DEBUG" for verbose HTTP client (curl) logs.
SwordHalClient$new( url, user = NULL, pwd = NULL, logger = NULL, keyring_backend = "env" )
urlurl
useruser
pwdpwd
loggerlogger
keyring_backendkeyring backend. Default value is 'env'
getServiceDocument()
Get service document
SwordHalClient$getServiceDocument(force = FALSE)
forceforce Force getting/refreshing of service document
object of class SwordServiceDocument
getCollectionMembers()
Get collection members
SwordHalClient$getCollectionMembers(collectionId)
collectionIdcollection ID
a list of AtomFeed
clone()
The objects of this class are cloneable with this method.
SwordHalClient$clone(deep = FALSE)
deepWhether to make a deep clone.
Experimental
Emmanuel Blondel <[email protected]>
This class models an Sword service document
R6Class object.
SwordServiceDocument
Object of R6Class for modelling an Sword service document
atom4R::atom4RLogger -> SwordServiceDocument
titletitle
collectionscollections
new()
Initializes a SwordServiceDocument from XML
SwordServiceDocument$new(xml, logger = NULL)
xmlobject of class XMLInternalNode-class from XML
loggerlogger
getTitle()
Get title
SwordServiceDocument$getTitle()
object of class character
getCollections()
Get collections
SwordServiceDocument$getCollections()
object of class character
clone()
The objects of this class are cloneable with this method.
SwordServiceDocument$clone(deep = FALSE)
deepWhether to make a deep clone.
class used internally by atom4R
Emmanuel Blondel <[email protected]>