Class OslcSimpleRdfXmlArrayProvider
java.lang.Object
org.eclipse.lyo.oslc4j.provider.jena.AbstractOslcRdfXmlProvider
org.eclipse.lyo.oslc4j.provider.jena.OslcRdfXmlArrayProvider
org.eclipse.lyo.oslc4j.provider.jena.OslcSimpleRdfXmlArrayProvider
- All Implemented Interfaces:
MessageBodyReader<Object[]>
,MessageBodyWriter<Object[]>
- Direct Known Subclasses:
OslcSimpleXmlArrayProvider
@Provider
@Produces("application/rdf+xml")
@Consumes("application/rdf+xml")
public class OslcSimpleRdfXmlArrayProvider
extends OslcRdfXmlArrayProvider
-
Field Summary
Fields inherited from class org.eclipse.lyo.oslc4j.provider.jena.AbstractOslcRdfXmlProvider
httpServletRequest, OSLC4J_ALWAYS_XML_ABBREV, OSLC4J_STRICT_DATATYPES
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
writeTo
(Object[] objects, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> map, OutputStream outputStream) Methods inherited from class org.eclipse.lyo.oslc4j.provider.jena.OslcRdfXmlArrayProvider
getSize, isReadable, isWriteable, readFrom
Methods inherited from class org.eclipse.lyo.oslc4j.provider.jena.AbstractOslcRdfXmlProvider
buildBadRequestResponse, readFrom, writeTo, writeTo
-
Constructor Details
-
OslcSimpleRdfXmlArrayProvider
public OslcSimpleRdfXmlArrayProvider()
-
-
Method Details
-
writeTo
public void writeTo(Object[] objects, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String, Object> map, OutputStream outputStream) throws IOException, WebApplicationException- Specified by:
writeTo
in interfaceMessageBodyWriter<Object[]>
- Overrides:
writeTo
in classOslcRdfXmlArrayProvider
- Throws:
IOException
WebApplicationException
-