fr.cnes.sitools.units.dimension
Class UnitConvertersCollectionResource

java.lang.Object
  extended by ExtendedWadlServerResource
      extended by fr.cnes.sitools.common.resource.AbstractSitoolsResource
          extended by fr.cnes.sitools.common.SitoolsResource
              extended by fr.cnes.sitools.units.dimension.UnitConvertersCollectionResource

public final class UnitConvertersCollectionResource
extends SitoolsResource

Resource to handle the collection of unit converters implemented

Author:
m.marseille

Field Summary
 
Fields inherited from class fr.cnes.sitools.common.SitoolsResource
DEFAULT_MEDIATYPE
 
Constructor Summary
UnitConvertersCollectionResource()
           
 
Method Summary
 void configure(com.thoughtworks.xstream.XStream xstream, Response response)
          Configure the XStream
 void describeGet(org.restlet.ext.wadl.MethodInfo info)
           
 void doInit()
          Initiate the resource
 java.lang.String getHelperClassName()
          Gets the helperClassName value
 org.restlet.representation.Representation getResourceJSON(org.restlet.representation.Variant variant)
          Get the Dimension helpers descriptions
 void setHelperClassName(java.lang.String helperClassName)
          Sets the value of helperClassName
 void sitoolsDescribe()
          Method implementation mandatory
 
Methods inherited from class fr.cnes.sitools.common.SitoolsResource
addStandardGetRequestInfo, addStandardInternalServerErrorInfo, addStandardNotificationInfo, addStandardObjectResponseInfo, addStandardPostOrPutRequestInfo, addStandardResourceCollectionFilterInfo, addStandardResponseInfo, addStandardSimpleResponseInfo, getNotificationObject, getRepresentation, getRepresentation, getSettings, getSitoolsApplication, getSitoolsSetting, trace, trace
 
Methods inherited from class fr.cnes.sitools.common.resource.AbstractSitoolsResource
getMediaType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnitConvertersCollectionResource

public UnitConvertersCollectionResource()
Method Detail

sitoolsDescribe

public void sitoolsDescribe()
Description copied from class: AbstractSitoolsResource
Method implementation mandatory

Specified by:
sitoolsDescribe in class AbstractSitoolsResource

doInit

public void doInit()
Description copied from class: SitoolsResource
Initiate the resource


getResourceJSON

@Get
public org.restlet.representation.Representation getResourceJSON(org.restlet.representation.Variant variant)
Get the Dimension helpers descriptions

Parameters:
variant - restlet variant
Returns:
a representation of the list of dimension helpers

describeGet

public void describeGet(org.restlet.ext.wadl.MethodInfo info)

configure

public void configure(com.thoughtworks.xstream.XStream xstream,
                      Response response)
Description copied from class: SitoolsResource
Configure the XStream

Overrides:
configure in class SitoolsResource
Parameters:
xstream - the XStream to treat
response - the response used

setHelperClassName

public void setHelperClassName(java.lang.String helperClassName)
Sets the value of helperClassName

Parameters:
helperClassName - the helperClassName to set

getHelperClassName

public java.lang.String getHelperClassName()
Gets the helperClassName value

Returns:
the helperClassName


Copyright © 2010-2013 CNES. All Rights Reserved.