| Package | Description |
|---|---|
| org.apache.shindig.gadgets.rewrite |
| Modifier and Type | Class and Description |
|---|---|
class |
AbsolutePathReferenceVisitor
Visitor that resolves relative paths relative to the
base tag (only if present) / current page url and marks urls as absolute.
|
class |
CacheEnforcementVisitor
Visitor that walks over html tags as specified by
resourceTags and
reserves html tag nodes whose uri attributes are either not in cache, or are
in cache, but the response in cache is either stale or an error response. |
class |
ConcatVisitor
DOM mutator that concatenates resources using the concat servlet
|
static class |
ConcatVisitor.Css |
static class |
ConcatVisitor.Js |
class |
ContentTypeCharsetRemoverVisitor
Removes charset information from <meta http-equip="Content-Type">
|
static class |
ImageAttributeRewriter.ImageAttributeVisitor
Visitor that injects height/width attributes for
|
static class |
ImageResizeRewriter.ImageResizeVisitor |
static class |
OsTemplateXmlLoaderRewriter.GadgetHtmlVisitor |
class |
ProxyingVisitor
Simple visitor that, when plugged into a DomWalker, rewrites
resource links to proxied versions of the same.
|
class |
ResourceMutateVisitor
Abstract visitor that walks over html tags as specified by
resourceTags and prepares list of html tag nodes whose uri
attributes can be mutated. |
class |
StyleAdjacencyVisitor
Visitor that pulls all stylesheet nodes in a document to head, in
the order they were found in the document.
|
class |
StyleTagExtractorVisitor
Visits nodes in the dom extracting style tags.
|
class |
StyleTagProxyEmbeddedUrlsVisitor
Visitor that replaces urls (@import + background) in
<style> ...
|
| 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> |
ImageResizeRewriter.makeVisitors(Gadget context,
Uri gadgetUri) |
protected List<DomWalker.Visitor> |
DomWalker.Rewriter.makeVisitors(Gadget context,
Uri gadgetUri) |
protected List<DomWalker.Visitor> |
AbsolutePathReferenceRewriter.makeVisitors(Gadget context,
Uri gadgetUri) |
| Constructor and Description |
|---|
DomWalker.Rewriter(DomWalker.Visitor... visitors) |
| Constructor and Description |
|---|
DomWalker.Rewriter(List<DomWalker.Visitor> visitors) |
Copyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.