Nuxeo Enterprise Platform 5.4

org.nuxeo.opensocial.webengine.gadgets.render
Class GadgetSpecView

java.lang.Object
  extended by org.nuxeo.opensocial.webengine.gadgets.render.GadgetSpecView

public class GadgetSpecView
extends Object

Helper to render the GadgetSpec via FreeMarker Using FreeMarker for that allow to have some dynamic computations : - OAUth urls (that may be different depending on the IP the client uses) - resources urls - requests urls - ...

Author:
tiry

Field Summary
static Gadgeti18n i18n
           
 
Constructor Summary
GadgetSpecView()
           
 
Method Summary
static InputStream render(InternalGadgetDescriptor gadget, Map<String,Object> params)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

i18n

public static Gadgeti18n i18n
Constructor Detail

GadgetSpecView

public GadgetSpecView()
Method Detail

render

public static InputStream render(InternalGadgetDescriptor gadget,
                                 Map<String,Object> params)
                          throws Exception
Throws:
Exception

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.