| Modifier and Type | Method and Description |
|---|---|
Gadget |
Gadget.setContext(GadgetContext context) |
Gadget |
Gadget.setCurrentView(View currentView) |
Gadget |
Gadget.setGadgetFeatureRegistry(FeatureRegistry registry) |
Gadget |
Gadget.setPreloads(Collection<PreloadedData> preloads) |
Gadget |
Gadget.setSpec(GadgetSpec spec) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
LockedDomainService.gadgetCanRender(String host,
Gadget gadget,
String container)
Check whether a gadget should be allowed to render on a particular
host.
|
boolean |
HashLockedDomainService.gadgetCanRender(String host,
Gadget gadget,
String container) |
String |
LockedDomainService.getLockedDomainForGadget(Gadget gadget,
String container)
Calculate the locked domain for a particular gadget on a particular
container.
|
String |
HashLockedDomainService.getLockedDomainForGadget(Gadget gadget,
String container) |
| Modifier and Type | Method and Description |
|---|---|
void |
XhrwrapperConfigContributor.contribute(Map<String,Object> config,
Gadget gadget)
Contribute configuration values for a specific gadget in an iframe.
|
void |
ShindigAuthConfigContributor.contribute(Map<String,Object> config,
Gadget gadget)
Contribute configuration values for a specific gadget in an iframe.
|
void |
OsapiServicesConfigContributor.contribute(Map<String,Object> config,
Gadget gadget)
Contribute configuration values for a specific gadget in an iframe.
|
void |
CoreUtilConfigContributor.contribute(Map<String,Object> config,
Gadget gadget)
Contribute configuration values for a specific gadget in an iframe.
|
void |
ConfigContributor.contribute(Map<String,Object> config,
Gadget gadget)
Contribute configuration values for a specific gadget in an iframe.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<Callable<PreloadedData>> |
Preloader.createPreloadTasks(Gadget gadget)
Create new preload tasks for the provided gadget.
|
Collection<Callable<PreloadedData>> |
HttpPreloader.createPreloadTasks(Gadget gadget) |
Collection<PreloadedData> |
PreloaderService.preload(Gadget gadget)
Begin all preload operations.
|
Collection<PreloadedData> |
ConcurrentPreloaderService.preload(Gadget gadget) |
| Modifier and Type | Method and Description |
|---|---|
Gadget |
Processor.process(GadgetContext context)
Process a single gadget.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
RenderingGadgetRewriter.getLibraryConfig(Gadget gadget,
List<String> reqs)
Creates a set of all configuration needed to satisfy the requested feature set.
|
protected String |
HtmlRenderer.getViewContent(Gadget gadget,
View view) |
protected void |
RenderingGadgetRewriter.injectBaseTag(Gadget gadget,
Node headTag) |
protected void |
RenderingGadgetRewriter.injectDefaultPrefs(Gadget gadget,
Node scriptTag)
Injects default values for user prefs into the gadget output.
|
protected void |
RenderingGadgetRewriter.injectFeatureLibraries(Gadget gadget,
Node headTag,
Node firstHeadChild)
Injects javascript libraries needed to satisfy feature dependencies.
|
protected void |
RenderingGadgetRewriter.injectGadgetBeacon(Gadget gadget,
Node headTag,
Node firstHeadChild) |
protected void |
RenderingGadgetRewriter.injectPreloads(Gadget gadget,
Node scriptTag)
Injects preloads into the gadget output.
|
static boolean |
SanitizingGadgetRewriter.isSanitizedRenderingRequest(Gadget gadget)
Is the Gadget to be rendered sanitized?
|
String |
ProxyRenderer.render(Gadget gadget) |
String |
HtmlRenderer.render(Gadget gadget)
Render the gadget into a string by performing the following steps:
- Retrieve gadget specification information (GadgetSpec, MessageBundle, etc
|
void |
SanitizingGadgetRewriter.rewrite(Gadget gadget,
MutableContent content) |
void |
RenderingGadgetRewriter.rewrite(Gadget gadget,
MutableContent mutableContent) |
void |
OpenSocialI18NGadgetRewriter.rewrite(Gadget gadget,
MutableContent mutableContent) |
| Modifier and Type | Method and Description |
|---|---|
static Gadget |
DomWalker.makeGadget(GadgetContext context) |
static Gadget |
DomWalker.makeGadget(HttpRequest request) |
| Modifier and Type | Method and Description |
|---|---|
protected List<DomWalker.Visitor> |
StyleTagProxyEmbeddedUrlsRewriter.makeVisitors(Gadget context,
Uri gadgetUri) |
protected List<DomWalker.Visitor> |
StyleTagExtractorContentRewriter.makeVisitors(Gadget context,
Uri gadgetUri) |
protected List<DomWalker.Visitor> |
StyleConcatContentRewriter.makeVisitors(Gadget context,
Uri gadgetUri) |
protected List<DomWalker.Visitor> |
ScriptConcatContentRewriter.makeVisitors(Gadget context,
Uri gadgetUri) |
protected List<DomWalker.Visitor> |
ProxyingContentRewriter.makeVisitors(Gadget context,
Uri gadgetUri) |
protected List<DomWalker.Visitor> |
DomWalker.Rewriter.makeVisitors(Gadget context,
Uri gadgetUri) |
protected abstract Collection<Pair<Node,Uri>> |
ResourceMutateVisitor.mutateUris(Gadget gadget,
Collection<Node> nodes) |
protected Collection<Pair<Node,Uri>> |
ProxyingVisitor.mutateUris(Gadget gadget,
Collection<Node> nodes) |
boolean |
StyleTagProxyEmbeddedUrlsVisitor.revisit(Gadget gadget,
List<Node> nodes) |
boolean |
StyleTagExtractorVisitor.revisit(Gadget gadget,
List<Node> nodes) |
boolean |
StyleAdjacencyVisitor.revisit(Gadget gadget,
List<Node> nodes) |
boolean |
ResourceMutateVisitor.revisit(Gadget gadget,
List<Node> nodes)
Revisit a node in the DOM that was marked by the
visit(Gadget, Node) as reserved during DOM traversal. |
boolean |
OsTemplateXmlLoaderRewriter.GadgetHtmlVisitor.revisit(Gadget gadget,
List<Node> nodes) |
boolean |
DomWalker.Visitor.revisit(Gadget gadget,
List<Node> nodes)
Revisit a node in the DOM that was marked by the
visit(Gadget, Node) as reserved during DOM traversal. |
boolean |
ContentTypeCharsetRemoverVisitor.revisit(Gadget gadget,
List<Node> nodes) |
boolean |
ConcatVisitor.revisit(Gadget gadget,
List<Node> nodes)
For css:
Link tags are first split into buckets separated by tags with mediaType == "all"
/ title attribute different from their previous link tag / nodes that are
not 'link' tags.
|
boolean |
AbsolutePathReferenceVisitor.revisit(Gadget gadget,
List<Node> node) |
void |
TemplateRewriter.rewrite(Gadget gadget,
MutableContent content) |
void |
PipelineDataGadgetRewriter.rewrite(Gadget gadget,
MutableContent content) |
void |
GadgetRewriter.rewrite(Gadget gadget,
MutableContent content)
Rewrite the gadget.
|
void |
DomWalker.Rewriter.rewrite(Gadget gadget,
MutableContent content)
Performs the DomWalker rewrite operation described in class javadoc.
|
void |
CaptureRewriter.rewrite(Gadget gadget,
MutableContent content) |
void |
BaseTagRemoverRewriter.rewrite(Gadget gadget,
MutableContent mc) |
DomWalker.Visitor.VisitStatus |
StyleTagProxyEmbeddedUrlsVisitor.visit(Gadget gadget,
Node node) |
DomWalker.Visitor.VisitStatus |
StyleTagExtractorVisitor.visit(Gadget gadget,
Node node) |
DomWalker.Visitor.VisitStatus |
StyleAdjacencyVisitor.visit(Gadget gadget,
Node node) |
DomWalker.Visitor.VisitStatus |
ResourceMutateVisitor.visit(Gadget gadget,
Node node)
Visit a particular Node in the DOM.
|
DomWalker.Visitor.VisitStatus |
OsTemplateXmlLoaderRewriter.GadgetHtmlVisitor.visit(Gadget gadget,
Node node) |
DomWalker.Visitor.VisitStatus |
DomWalker.Visitor.visit(Gadget gadget,
Node node)
Visit a particular Node in the DOM.
|
DomWalker.Visitor.VisitStatus |
ContentTypeCharsetRemoverVisitor.visit(Gadget gadget,
Node node) |
DomWalker.Visitor.VisitStatus |
ConcatVisitor.visit(Gadget gadget,
Node node) |
DomWalker.Visitor.VisitStatus |
AbsolutePathReferenceVisitor.visit(Gadget gadget,
Node node) |
| Modifier and Type | Method and Description |
|---|---|
protected org.json.JSONObject |
JsonRpcHandler.Job.getGadgetJson(Gadget gadget,
GadgetSpec spec) |
void |
CajaContentRewriter.rewrite(Gadget gadget,
MutableContent mc) |
| Modifier and Type | Method and Description |
|---|---|
Gadget |
TemplateContext.getGadget() |
| Constructor and Description |
|---|
TemplateContext(Gadget gadget,
Map<String,? extends Object> top) |
| Modifier and Type | Method and Description |
|---|---|
static List<ConcatUriManager.ConcatUri> |
ConcatUriManager.ConcatUri.fromList(Gadget gadget,
List<List<Uri>> batches,
ConcatUriManager.Type type) |
static List<ProxyUriManager.ProxyUri> |
ProxyUriManager.ProxyUri.fromList(Gadget gadget,
List<Uri> uris) |
protected String |
DefaultIframeUriManager.generateSecurityToken(Gadget gadget) |
protected String |
DefaultIframeUriManager.getScheme(Gadget gadget,
String container) |
protected boolean |
DefaultIframeUriManager.isTokenNeededForRendering(Gadget gadget) |
Uri |
JsUriManager.makeExternJsUri(Gadget gadget,
Collection<String> extern) |
Uri |
DefaultJsUriManager.makeExternJsUri(Gadget gadget,
Collection<String> extern) |
Uri |
IframeUriManager.makeRenderingUri(Gadget gadget)
Generates iframe urls for meta data service.
|
Uri |
DefaultIframeUriManager.makeRenderingUri(Gadget gadget) |
protected boolean |
DefaultIframeUriManager.wantsSecurityToken(Gadget gadget) |
| Constructor and Description |
|---|
ConcatUriManager.ConcatUri(Gadget gadget,
List<Uri> batch,
ConcatUriManager.Type type) |
ProxyUriBase(Gadget gadget) |
ProxyUriManager.ProxyUri(Gadget gadget,
Uri resource) |
Copyright © 2007-2012. All Rights Reserved.