Class OSLC4JUnmarshaller
java.lang.Object
org.eclipse.lyo.core.utils.marshallers.OSLC4JUnmarshaller
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.MediaType
void
setMediaType
(jakarta.ws.rs.core.MediaType mediaType) <T> T
unmarshal
(InputStream inputStream, Class<T> clazz)
-
Method Details
-
unmarshal
public <T> T unmarshal(InputStream inputStream, Class<T> clazz) throws IllegalArgumentException, SecurityException, DatatypeConfigurationException, IllegalAccessException, InstantiationException, InvocationTargetException, OslcCoreApplicationException, URISyntaxException, NoSuchMethodException -
getMediaType
public jakarta.ws.rs.core.MediaType getMediaType() -
setMediaType
public void setMediaType(jakarta.ws.rs.core.MediaType mediaType)
-