Package org.opencastproject.schema
Class OcDublinCoreUtil
java.lang.Object
org.opencastproject.schema.OcDublinCoreUtil
Constructor, converter and encoder functions for
OcDublinCore.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Function<Date, DublinCoreValue> static final Function<Date, DublinCoreValue> static final Function<Date, DublinCoreValue> static final Function<Date, DublinCoreValue> -
Method Summary
Modifier and TypeMethodDescriptionstatic DublinCoreValuestatic DublinCoreValueencodeDate(Date a) static DublinCoreValuestatic DublinCoreValuestatic DublinCoreValuestatic DublinCoreValueencodeExtent(Long a) static DublinCoreCatalogtoCatalog(OcDublinCore source) Create a generic DublinCoreCatalog from an OcDublinCore.static JaxbOcDublinCoretoJaxb(OcDublinCore source) Create a JAXB transfer object from an OcDublinCore.
-
Field Details
-
encodeDate
-
encodeDateAccepted
-
encodeDateCopyrighted
-
encodeDateSubmitted
-
-
Method Details
-
encodeCreated
-
encodeDate
-
encodeDateAccepted
-
encodeDateCopyrighted
-
encodeDateSubmitted
-
encodeExtent
-
toCatalog
Create a generic DublinCoreCatalog from an OcDublinCore. Fields are encoded according to the Opencast rules. This class provides functions for each DublinCore property that needs special encoding. -
toJaxb
Create a JAXB transfer object from an OcDublinCore.
-