Package org.trellisldp.common
Class DefaultTimemapGenerator
- java.lang.Object
-
- org.trellisldp.common.DefaultTimemapGenerator
-
- All Implemented Interfaces:
TimemapGenerator
@Alternative public class DefaultTimemapGenerator extends Object implements TimemapGenerator
A default TimemapGenerator.
-
-
Constructor Summary
Constructors Constructor Description DefaultTimemapGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stream<Triple>
asRdf(String identifier, List<Link> mementos)
Generate RDF triples from mementos.
-
-
-
Method Detail
-
asRdf
public Stream<Triple> asRdf(String identifier, List<Link> mementos)
Description copied from interface:TimemapGenerator
Generate RDF triples from mementos.- Specified by:
asRdf
in interfaceTimemapGenerator
- Parameters:
identifier
- the identifiermementos
- the mementos- Returns:
- a stream of triples
-
-