org.openrdf.server.metadata.http.writers
Class AggregateWriter
java.lang.Object
org.openrdf.server.metadata.http.writers.AggregateWriter
- All Implemented Interfaces:
- MessageBodyWriter<Object>
public class AggregateWriter
- extends Object
- implements MessageBodyWriter<Object>
Delegates to other MessageBodyWriters.
- Author:
- James Leigh
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AggregateWriter
public AggregateWriter()
getContentType
public String getContentType(Class<?> type,
String mimeType,
Charset charset)
- Specified by:
getContentType in interface MessageBodyWriter<Object>
getSize
public long getSize(Object result,
String mimeType)
- Specified by:
getSize in interface MessageBodyWriter<Object>
isWriteable
public boolean isWriteable(Class<?> type,
String mimeType)
- Specified by:
isWriteable in interface MessageBodyWriter<Object>
writeTo
public void writeTo(Object result,
String base,
String mimeType,
OutputStream out,
Charset charset)
throws IOException,
RDFHandlerException,
QueryEvaluationException,
TupleQueryResultHandlerException,
RepositoryException
- Specified by:
writeTo in interface MessageBodyWriter<Object>
- Throws:
IOException
RDFHandlerException
QueryEvaluationException
TupleQueryResultHandlerException
RepositoryException
Copyright © 2004-2009 James Leigh Services Inc.. All Rights Reserved.