fr.cnes.sitools.client
Class ClientSiteMapResource

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.client.ClientSiteMapResource

public class ClientSiteMapResource
extends SitoolsResource

Create a SiteMap with key/url from sitools.properties

Author:
b.fiorito (AKKA Technologies)

Field Summary
static java.lang.String BUNDLE
          Resource bundle name
 
Fields inherited from class fr.cnes.sitools.common.SitoolsResource
DEFAULT_MEDIATYPE
 
Constructor Summary
ClientSiteMapResource()
           
 
Method Summary
 org.restlet.representation.Representation createSiteMap()
          Create a xml site map with sitools.properties url/name
 java.lang.String createXml(java.lang.String tempPath)
          generate xml file contening sitools properties name/url
 void populateMapUrl(java.util.ResourceBundle bundle)
          filled in a Map with key/value URL
 void sitoolsDescribe()
          ClientAdminSiteMapResource Describe
 
Methods inherited from class fr.cnes.sitools.common.SitoolsResource
addStandardGetRequestInfo, addStandardInternalServerErrorInfo, addStandardNotificationInfo, addStandardObjectResponseInfo, addStandardPostOrPutRequestInfo, addStandardResourceCollectionFilterInfo, addStandardResponseInfo, addStandardSimpleResponseInfo, configure, 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
 

Field Detail

BUNDLE

public static final java.lang.String BUNDLE
Resource bundle name

See Also:
Constant Field Values
Constructor Detail

ClientSiteMapResource

public ClientSiteMapResource()
Method Detail

sitoolsDescribe

public void sitoolsDescribe()
ClientAdminSiteMapResource Describe

Specified by:
sitoolsDescribe in class AbstractSitoolsResource

createSiteMap

@Get
public org.restlet.representation.Representation createSiteMap()
Create a xml site map with sitools.properties url/name

Returns:
siteMap xml file contening url/name

populateMapUrl

public void populateMapUrl(java.util.ResourceBundle bundle)
filled in a Map with key/value URL

Parameters:
bundle - the bundle contening key/value url

createXml

public java.lang.String createXml(java.lang.String tempPath)
generate xml file contening sitools properties name/url

Parameters:
tempPath - the path of the template
Returns:
siteMap


Copyright © 2010-2013 CNES. All Rights Reserved.