org.openrdf.server.metadata.http.readers
Class SetOfRDFObjectReader
java.lang.Object
org.openrdf.server.metadata.http.readers.SetOfRDFObjectReader
- All Implemented Interfaces:
- MessageBodyReader<Set<?>>
public class SetOfRDFObjectReader
- extends Object
- implements MessageBodyReader<Set<?>>
Reads RDF as a set of RDFObjects (subjects).
- Author:
- James Leigh
|
Method Summary |
boolean |
isReadable(Class<?> type,
Type genericType,
String mediaType,
ObjectConnection con)
|
Set<?> |
readFrom(Class<? extends Set<?>> type,
Type genericType,
String media,
InputStream in,
Charset charset,
String base,
String location,
ObjectConnection con)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SetOfRDFObjectReader
public SetOfRDFObjectReader()
isReadable
public boolean isReadable(Class<?> type,
Type genericType,
String mediaType,
ObjectConnection con)
- Specified by:
isReadable in interface MessageBodyReader<Set<?>>
readFrom
public Set<?> readFrom(Class<? extends Set<?>> type,
Type genericType,
String media,
InputStream in,
Charset charset,
String base,
String location,
ObjectConnection con)
throws QueryResultParseException,
TupleQueryResultHandlerException,
QueryEvaluationException,
IOException,
RepositoryException
- Specified by:
readFrom in interface MessageBodyReader<Set<?>>
- Throws:
QueryResultParseException
TupleQueryResultHandlerException
QueryEvaluationException
IOException
RepositoryException
Copyright © 2004-2009 James Leigh Services Inc.. All Rights Reserved.