org.apache.shindig.gadgets.rewrite
Class OsTemplateXmlLoaderRewriter
java.lang.Object
org.apache.shindig.gadgets.rewrite.DomWalker.Rewriter
org.apache.shindig.gadgets.rewrite.OsTemplateXmlLoaderRewriter
- All Implemented Interfaces:
- GadgetRewriter, ResponseRewriter
public class OsTemplateXmlLoaderRewriter
- extends DomWalker.Rewriter
Rewrites the gadget to include template and xml information
- Since:
- 2.0.0
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OS_TEMPLATE_MIME
public static final String OS_TEMPLATE_MIME
- See Also:
- Constant Field Values
OS_TEMPLATES_FEATURE_NAME
public static final String OS_TEMPLATES_FEATURE_NAME
- See Also:
- Constant Field Values
OsTemplateXmlLoaderRewriter
@Inject
public OsTemplateXmlLoaderRewriter(OsTemplateXmlLoaderRewriter.Converter converter)
rewrite
public boolean rewrite(HttpRequest request,
HttpResponse original,
MutableContent content)
throws RewritingException
- Throws:
RewritingException
Copyright © 2007-2012. All Rights Reserved.