org.eclipse.lyo.core.utils.marshallers

## Class OSLC4JMarshaller

- java.lang.Object
- - org.eclipse.lyo.core.utils.marshallers.OSLC4JMarshaller

-     public class OSLC4JMarshaller
      extends Object

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `javax.ws.rs.core.MediaType` | `getMediaType()`
    `void` | `marshal(Object[] resources, OutputStream os)`
    `void` | `setMediaType(javax.ws.rs.core.MediaType mediaType)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### marshal

          public void marshal(Object[] resources,
                     OutputStream os)
                       throws javax.ws.rs.WebApplicationException

      Throws:
        `javax.ws.rs.WebApplicationException`

    - #### getMediaType

          public javax.ws.rs.core.MediaType getMediaType()

      Returns:
        the mediaType

    - #### setMediaType

          public void setMediaType(javax.ws.rs.core.MediaType mediaType)

      Parameters:
        `mediaType` - the mediaType to set

Copyright © 2016. All rights reserved.