Page Speed Optimization Libraries  1.13.35.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
net_instaweb::HtmlEvent Class Referenceabstract
Inheritance diagram for net_instaweb::HtmlEvent:
net_instaweb::HtmlEndDocumentEvent net_instaweb::HtmlEndElementEvent net_instaweb::HtmlLeafNodeEvent net_instaweb::HtmlStartDocumentEvent net_instaweb::HtmlStartElementEvent net_instaweb::HtmlCdataEvent net_instaweb::HtmlCharactersEvent net_instaweb::HtmlCommentEvent net_instaweb::HtmlDirectiveEvent net_instaweb::HtmlIEDirectiveEvent

Public Member Functions

 HtmlEvent (int line_number)
 
virtual void Run (HtmlFilter *filter)=0
 
virtual GoogleString ToString () const =0
 
virtual HtmlElementGetElementIfStartEvent ()
 
virtual HtmlElementGetElementIfEndEvent ()
 
virtual HtmlLeafNodeGetLeafNode ()
 
virtual HtmlNodeGetNode ()
 
virtual HtmlCharactersNodeGetCharactersNode ()
 
void DebugPrint ()
 
int line_number () const
 

Member Function Documentation

virtual HtmlElement* net_instaweb::HtmlEvent::GetElementIfEndEvent ( )
inlinevirtual

If this is an EndElement event, returns the HtmlElement that is being ended. Otherwise returns NULL.

Reimplemented in net_instaweb::HtmlEndElementEvent.

virtual HtmlElement* net_instaweb::HtmlEvent::GetElementIfStartEvent ( )
inlinevirtual

If this is a StartElement event, returns the HtmlElement that is being started. Otherwise returns NULL.

Reimplemented in net_instaweb::HtmlStartElementEvent.


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