@Provider @Component public class RdfProvider extends Object implements javax.ws.rs.ext.MessageBodyWriter<com.hp.hpl.jena.query.Dataset>
| Constructor and Description |
|---|
RdfProvider() |
| Modifier and Type | Method and Description |
|---|---|
long |
getSize(com.hp.hpl.jena.query.Dataset rdf,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
boolean |
isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
void |
writeTo(com.hp.hpl.jena.query.Dataset rdf,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
public void writeTo(com.hp.hpl.jena.query.Dataset rdf,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream)
throws IOException,
javax.ws.rs.WebApplicationException
writeTo in interface javax.ws.rs.ext.MessageBodyWriter<com.hp.hpl.jena.query.Dataset>IOExceptionjavax.ws.rs.WebApplicationExceptionpublic boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isWriteable in interface javax.ws.rs.ext.MessageBodyWriter<com.hp.hpl.jena.query.Dataset>public long getSize(com.hp.hpl.jena.query.Dataset rdf,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
getSize in interface javax.ws.rs.ext.MessageBodyWriter<com.hp.hpl.jena.query.Dataset>Copyright © 2013 DuraSpace, Inc.. All Rights Reserved.