| Interface | Description |
|---|---|
| DomWalker.Visitor |
Implemented by classes that do actual manipulation of the DOM
while
DomWalker.ContentVisitor walks it. |
| GadgetRewriter |
Interface for rewriters that modify gadget content.
|
| ResponseRewriter |
Base interface used by response rewriter implementations.
|
| ResponseRewriterRegistry |
Performs rewriting operations by invoking one or more
ResponseRewriters. |
| Class | Description |
|---|---|
| AbsolutePathReferenceRewriter |
Rewriter that converts all url's to absolute.
|
| AbsolutePathReferenceVisitor |
Visitor that resolves relative paths relative to the
base tag (only if present) / current page url and marks urls as absolute.
|
| BaseTagRemoverRewriter |
Simple rewriter that deletes the base tag from the html document.
|
| 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. |
| CaptureRewriter |
Utility rewriter for testing.
|
| ConcatVisitor |
DOM mutator that concatenates resources using the concat servlet
|
| ConcatVisitor.Css | |
| ConcatVisitor.Js | |
| ContentRewriterFeature |
Parser for the "content-rewrite" feature.
|
| ContentRewriterFeature.Config | |
| ContentRewriterFeature.DefaultConfig | |
| ContentRewriterFeature.Factory |
Factory for content rewriter features.
|
| ContentTypeCharsetRemoverRewriter |
Removes charset information from <meta http-equip="Content-Type"%gt; tags
|
| ContentTypeCharsetRemoverVisitor |
Removes charset information from <meta http-equip="Content-Type">
|
| ContextAwareRegistry |
An implementation of ResponseRewriterRegistry which applies the list of
rewriters based on the container and the rewrite flow id.
|
| CssResponseRewriter |
Rewrite links to referenced content in a stylesheet
|
| CssResponseRewriter.UriMaker | |
| DefaultResponseRewriterRegistry |
Basic registry -- just iterates over rewriters and invokes them sequentially.
|
| DomWalker |
Framework-in-a-framework facilitating the common Visitor case
in which a DOM tree is walked in order to manipulate it.
|
| DomWalker.Rewriter |
Rewriter that traverses the DOM, passing each node to its
list of
Visitor instances in order. |
| ImageAttributeRewriter |
Rewriter that adds height/width attributes to
|
| ImageAttributeRewriter.ImageAttributeVisitor |
Visitor that injects height/width attributes for
|
| ImageResizeRewriter |
This rewriter helps in appending the image size parameters (extracted from inline styles, height
and width) to the proxied resource urls so that server side resizing can be done when ever
possible.
|
| ImageResizeRewriter.ImageResizeVisitor | |
| MutableContent |
Object that maintains a String representation of arbitrary contents
and a consistent view of those contents as an HTML parse tree.
|
| OsTemplateXmlLoaderRewriter |
Rewrites the gadget to include template and xml information
|
| OsTemplateXmlLoaderRewriter.Converter | |
| OsTemplateXmlLoaderRewriter.GadgetHtmlVisitor | |
| PipelineDataGadgetRewriter |
ContentRewriter that resolves opensocial-data elements on the server.
|
| ProxyingContentRewriter |
Rewrites gadget content to force resources through the /proxy endpoint.
|
| ProxyingVisitor |
Simple visitor that, when plugged into a DomWalker, rewrites
resource links to proxied versions of the same.
|
| 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. |
| RewriteModule |
Guice bindings for the rewrite package.
|
| RewritePath |
Implementation of ResponseRewriterList annotation interface.
|
| RewriterUtils |
Various utility functions used by rewriters
|
| ScriptConcatContentRewriter |
Concatenates non-private and cached script resources.
|
| StyleAdjacencyContentRewriter |
Merges adjacent style tags.
|
| StyleAdjacencyVisitor |
Visitor that pulls all stylesheet nodes in a document to head, in
the order they were found in the document.
|
| StyleConcatContentRewriter |
Concatenates non-private and cached adjacent styles
CacheEnforcementVisitor is used to merge only non-private & cached styles.
|
| StyleTagExtractorContentRewriter |
Extracts style tags
|
| StyleTagExtractorVisitor |
Visits nodes in the dom extracting style tags.
|
| StyleTagProxyEmbeddedUrlsRewriter |
Rewriter that replaces urls (@import + background) in
<style> ...
|
| StyleTagProxyEmbeddedUrlsVisitor |
Visitor that replaces urls (@import + background) in
<style> ...
|
| TemplateRewriter |
This ContentRewriter uses a TemplateProcessor to replace os-template
tag contents of a gadget spec with their rendered equivalents.
|
| Enum | Description |
|---|---|
| AbsolutePathReferenceVisitor.Tags | |
| ContentRewriterFeature.PatternOptions | |
| DomWalker.Visitor.VisitStatus |
Returned by the
visit(Gadget, Node) method, signaling:
BYPASS = Visitor doesn't care about the node. |
| ResourceMutateVisitor.Tags |
Enum for resource tags and associated attributes that should be mutated.
|
| ResponseRewriterList.RewriteFlow |
| Exception | Description |
|---|---|
| RewritingException |
Exceptions thrown during content rewriting.
|
| Annotation Type | Description |
|---|---|
| ResponseRewriterList |
Annotation that specifies a list of rewriters with the rewriteFlow and
container they are meant to be applied to.
|
| RewriterRegistry |
Annotation that specifies an instance of ResponseRewriterRegistry to be used
for a given rewriteFlow.
|
Copyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.