Uri Class

Format

An R6Class generator object

Public fields

id

integer [optional]

value

character [optional]

Methods


Method new()

Create a URI

Usage

Uri$new(id = NULL, value = NULL, ...)

Arguments

id

URI id.

value

The URI.

...

local optional variable arguments


Method toJSON()

Serialize to list object suitable for jsonlite

Usage

Uri$toJSON()


Method fromJSON()

Deserialize from jsonlite list object

Usage

Uri$fromJSON(UriJson)

Arguments

UriJson

list object.


Method toJSONString()

Serialize to JSON string.

Usage

Uri$toJSONString()


Method fromJSONString()

Deserialize from JSON string

Usage

Uri$fromJSONString(UriJson)

Arguments

UriJson

JSON string


Method toDataFrame()

Serialize to data frame

Usage

Uri$toDataFrame(type = "uri")

Arguments

type

The prefix of the URI


Method fromDataFrame()

Deserialize from assay data frame

Usage

Uri$fromDataFrame(UriDataFrame)

Arguments

UriDataFrame

Uri data frame


Method clone()

The objects of this class are cloneable with this method.

Usage

Uri$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.