| Package | Description |
|---|---|
| org.apache.shindig.gadgets.features |
| Modifier and Type | Class and Description |
|---|---|
class |
BrowserSpecificFeatureResource
A FeatureResource that supports being supplied only to certain browsers.
|
static class |
FeatureResource.Default
Helper base class to avoid having to implement rarely-overridden isExternal/isProxyCacheable
functionality in FeatureResource.
|
static class |
FeatureResource.Simple |
| Modifier and Type | Method and Description |
|---|---|
FeatureResource |
FeatureResourceLoader.load(Uri uri,
Map<String,String> attribs)
Primary, and only public, method of FeatureResourceLoader.
|
FeatureResource |
BrowserSpecificFeatureResource.Loader.load(Uri uri,
Map<String,String> attribs) |
protected FeatureResource |
FeatureResourceLoader.loadFile(String path,
Map<String,String> attribs) |
protected FeatureResource |
FeatureResourceLoader.loadResource(String path,
Map<String,String> attribs) |
protected FeatureResource |
FeatureResourceLoader.loadUri(Uri uri,
Map<String,String> attribs) |
| Modifier and Type | Method and Description |
|---|---|
List<FeatureResource> |
FeatureRegistry.getAllFeatures()
Returns all known FeatureResources in dependency order, as described in getFeatureResources.
|
List<FeatureResource> |
FeatureRegistry.getFeatureResources(GadgetContext ctx,
Collection<String> needed,
List<String> unsupported)
Helper method retrieving feature resources, including transitive dependencies.
|
List<FeatureResource> |
FeatureRegistry.getFeatureResources(GadgetContext ctx,
Collection<String> needed,
List<String> unsupported,
boolean transitive)
For the given list of needed features, retrieves all the FeatureResource objects that
contain their content and, if requested, that of their transitive dependencies.
|
| Constructor and Description |
|---|
BrowserSpecificFeatureResource(com.google.inject.Provider<UserAgent> uaProvider,
FeatureResource delegate,
String browserKey) |
Copyright © 2007-2012. All Rights Reserved.