@Provider public class RDFXMLMarshaller extends Object implements javax.ws.rs.ext.MessageBodyWriter<com.hp.hpl.jena.rdf.model.Model>
| Modifier and Type | Field and Description |
|---|---|
static String |
FULL_MIME_RDFXML |
static String |
MIME_RDFXML |
| Constructor and Description |
|---|
RDFXMLMarshaller() |
| Modifier and Type | Method and Description |
|---|---|
long |
getSize(com.hp.hpl.jena.rdf.model.Model t,
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.rdf.model.Model t,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
public static final String MIME_RDFXML
public static final String FULL_MIME_RDFXML
public 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.rdf.model.Model>public long getSize(com.hp.hpl.jena.rdf.model.Model t,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
getSize in interface javax.ws.rs.ext.MessageBodyWriter<com.hp.hpl.jena.rdf.model.Model>public void writeTo(com.hp.hpl.jena.rdf.model.Model t,
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.rdf.model.Model>IOExceptionjavax.ws.rs.WebApplicationExceptionCopyright © 2015. All rights reserved.