fr.cnes.sitools.portal.multidatasets.opensearch
Class MultiDsOsSuggestRepresentation

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 fr.cnes.sitools.portal.multidatasets.opensearch.MultiDsOsSuggestRepresentation

public final class MultiDsOsSuggestRepresentation
extends org.restlet.representation.OutputRepresentation

Representation used for mutlidataset opensearch RSS feeds

Version:
Author:
AKKA technologies

Field Summary
 
Fields inherited from class org.restlet.representation.Representation
UNKNOWN_SIZE
 
Constructor Summary
MultiDsOsSuggestRepresentation(org.restlet.data.MediaType mediaType)
          The default constructor
MultiDsOsSuggestRepresentation(org.restlet.data.MediaType mediaType, MutliDsOsResource res)
          A constructor with MultiDatasetsOpensearchResource parameter
 
Method Summary
 void write(java.io.OutputStream outputStream)
          Writes the JSON
 
Methods inherited from class org.restlet.representation.OutputRepresentation
getStream
 
Methods inherited from class org.restlet.representation.StreamRepresentation
getChannel, getReader, write, write
 
Methods inherited from class org.restlet.representation.Representation
checkDigest, checkDigest, computeDigest, createEmpty, exhaust, getAvailableSize, getDigest, getDisposition, getDownloadName, getExpirationDate, getRange, getSize, getText, isAvailable, isDownloadable, isTransient, release, setAvailable, setDigest, setDisposition, setDownloadable, setDownloadName, setExpirationDate, 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, getIdentifier, getLanguages, getLocationRef, getMediaType, includes, isCompatible, setCharacterSet, setEncodings, setIdentifier, setIdentifier, setLanguages, setLocationRef, setLocationRef, setMediaType, toString
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MultiDsOsSuggestRepresentation

public MultiDsOsSuggestRepresentation(org.restlet.data.MediaType mediaType)
The default constructor

Parameters:
mediaType - The mediaType

MultiDsOsSuggestRepresentation

public MultiDsOsSuggestRepresentation(org.restlet.data.MediaType mediaType,
                                      MutliDsOsResource res)
A constructor with MultiDatasetsOpensearchResource parameter

Parameters:
mediaType - The mediaType
res - The MultiDatasetsOpensearchResource
Method Detail

write

public void write(java.io.OutputStream outputStream)
           throws java.io.IOException
Writes the JSON

Specified by:
write in class org.restlet.representation.Representation
Parameters:
outputStream - The outputStream
Throws:
java.io.IOException - if there is any error in the method


Copyright © 2010-2013 CNES. All Rights Reserved.