Page Speed Optimization Libraries  1.12.34.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
net_instaweb::TrimWhitespaceRewriter Class Reference

Simple test filter just trims whitespace from the input resource. More...

#include "rewrite_context_test_base.h"

Inheritance diagram for net_instaweb::TrimWhitespaceRewriter:
net_instaweb::SimpleTextFilter::Rewriter net_instaweb::RefCounted< Rewriter >

Public Member Functions

 TrimWhitespaceRewriter (OutputResourceKind kind)
 
int num_rewrites () const
 Stats.
 
void ClearStats ()
 
- Public Member Functions inherited from net_instaweb::SimpleTextFilter::Rewriter
virtual bool OptimizationOnly () const
 See RewriteContext::OptimizationOnly()
 
- Public Member Functions inherited from net_instaweb::RefCounted< Rewriter >
void Release ()
 
void AddRef ()
 
bool HasOneRef ()
 

Static Public Attributes

static const char kFilterId []
 

Protected Member Functions

 REFCOUNT_FRIEND_DECLARATION (TrimWhitespaceRewriter)
 
virtual bool RewriteText (const StringPiece &url, const StringPiece &in, GoogleString *out, ServerContext *server_context)
 
virtual HtmlElement::AttributeFindResourceAttribute (HtmlElement *element)
 
virtual OutputResourceKind kind () const
 
virtual const char * id () const
 
virtual const char * name () const
 
- Protected Member Functions inherited from net_instaweb::SimpleTextFilter::Rewriter
 REFCOUNT_FRIEND_DECLARATION (Rewriter)
 

Detailed Description

Simple test filter just trims whitespace from the input resource.


The documentation for this class was generated from the following file: