net.fortytwo.sesametools.ldserver
Class RDFRepresentation

java.lang.Object
  extended by org.restlet.representation.Variant
      extended by org.restlet.representation.RepresentationInfo
          extended by org.restlet.representation.Representation
              extended by org.restlet.representation.StreamRepresentation
                  extended by org.restlet.representation.OutputRepresentation
                      extended by net.fortytwo.sesametools.ldserver.RDFRepresentation

public class RDFRepresentation
extends org.restlet.representation.OutputRepresentation

An RDF document as an HTTP entity.

Author:
Joshua Shinavier (http://fortytwo.net)

Field Summary
 
Fields inherited from class org.restlet.representation.Representation
UNKNOWN_SIZE
 
Constructor Summary
RDFRepresentation(Collection<org.openrdf.model.Statement> statements, Collection<org.openrdf.model.Namespace> namespaces, org.openrdf.rio.RDFFormat format)
           
 
Method Summary
 void write(OutputStream os)
           
 
Methods inherited from class org.restlet.representation.OutputRepresentation
getChannel, getStream
 
Methods inherited from class org.restlet.representation.StreamRepresentation
getReader, write, write
 
Methods inherited from class org.restlet.representation.Representation
append, exhaust, getAvailableSize, getDigest, getDisposition, getExpirationDate, getRange, getRegistration, getSize, getText, hasKnownSize, isAvailable, isEmpty, isSelectable, isTransient, release, setAvailable, setDigest, setDisposition, setExpirationDate, setListener, setRange, setSize, setTransient
 
Methods inherited from class org.restlet.representation.RepresentationInfo
getModificationDate, getTag, setModificationDate, setTag
 
Methods inherited from class org.restlet.representation.Variant
createClientInfo, equals, getCharacterSet, getEncodings, getLanguages, getLocationRef, getMediaType, includes, isCompatible, setCharacterSet, setEncodings, setLanguages, setLocationRef, setLocationRef, setMediaType, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RDFRepresentation

public RDFRepresentation(Collection<org.openrdf.model.Statement> statements,
                         Collection<org.openrdf.model.Namespace> namespaces,
                         org.openrdf.rio.RDFFormat format)
Method Detail

write

public void write(OutputStream os)
           throws IOException
Specified by:
write in class org.restlet.representation.Representation
Throws:
IOException


Copyright © 2013. All Rights Reserved.