Methods
(static) entryInfo(entryInfo) → {string}
Prints the three types of the entry, i.e. entry, resource and graphtype.
Parameters:
| Name | Type | Description | 
|---|---|---|
| entryInfo | EntryInfo | 
Returns:
- Type
- string
(static) metadataIndent(graph, subject) → {string}
Prints one level of triples from a subject where URIs are namespaced.
Parameters:
| Name | Type | Description | 
|---|---|---|
| graph | rdfjson/Graph | the graph containing the metadata | 
| subject | string | URI to a resource to start from | 
Returns:
string with the triples rendered as HTML.
- Type
- string
(static) metadataTable(entry) → {string}
Generates a table with columns subject, predicate, and object.
Parameters:
| Name | Type | Description | 
|---|---|---|
| entry | Entry | to expose metadata for | 
Returns:
rendered html as a string
- Type
- string
(static) print(entry) → {string}
Prints information about the entry, including entryinfo, metadata, cached external metadata as well as which context the entry belongs to.
Parameters:
| Name | Type | Description | 
|---|---|---|
| entry | Entry | 
Returns:
information about the entry as a HTML string.
- Type
- string