Class OSLC4JMarshaller
java.lang.Object
org.eclipse.lyo.core.utils.marshallers.OSLC4JMarshaller
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.MediaType
void
marshal
(Object[] resources, OutputStream os) void
setMediaType
(jakarta.ws.rs.core.MediaType mediaType)
-
Method Details
-
marshal
public void marshal(Object[] resources, OutputStream os) throws jakarta.ws.rs.WebApplicationException - Throws:
jakarta.ws.rs.WebApplicationException
-
getMediaType
public jakarta.ws.rs.core.MediaType getMediaType()- Returns:
- the mediaType
-
setMediaType
public void setMediaType(jakarta.ws.rs.core.MediaType mediaType) - Parameters:
mediaType
- the mediaType to set
-