Page Speed Optimization Libraries  1.2.24.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Classes | Public Member Functions | Protected Member Functions
net_instaweb::HtmlLeafNode Class Reference
Inheritance diagram for net_instaweb::HtmlLeafNode:
net_instaweb::HtmlNode net_instaweb::HtmlCdataNode net_instaweb::HtmlCharactersNode net_instaweb::HtmlCommentNode net_instaweb::HtmlDirectiveNode net_instaweb::HtmlIEDirectiveNode

List of all members.

Classes

struct  Data

Public Member Functions

virtual bool live () const
virtual void MarkAsDead (const HtmlEventListIterator &end)
const GoogleStringcontents () const
virtual HtmlEventListIterator begin () const
 Return an iterator pointing to the first event associated with this node.
virtual HtmlEventListIterator end () const
 Return an iterator pointing to the last event associated with this node.
void set_iter (const HtmlEventListIterator &iter)
void FreeData ()

Protected Member Functions

 HtmlLeafNode (HtmlElement *parent, const HtmlEventListIterator &iter, const StringPiece &contents)
GoogleStringmutable_contents ()

Member Function Documentation

virtual void net_instaweb::HtmlLeafNode::MarkAsDead ( const HtmlEventListIterator &  end) [virtual]

Marks a node as dead. The queue's end iterator should be passed in, to remove references to stale iterators, and to force IsRewritable to return false.

Implements net_instaweb::HtmlNode.

Write-access to the contents is protected by default, and made accessible by subclasses that need to expose this method.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines