string.html.HtmlSaxHandler Extends
An interface to the goog.string.html.HtmlParser visitor, that gets called while the HTML is being parsed.

Inheritance

Constructor

goog.string.html.HtmlSaxHandler()

Instance Methods

Public Protected Private
cdata(text)
Handler called when CDATA is found.
Arguments:
text : string
The CDATA text found.
code »
endTag(name)
Handler called when the parser found a closing tag.
Arguments:
name : string
The name of the tag that is ending.
code »
pcdata(text)
Handler called when PCDATA is found.
Arguments:
text : string
The PCDATA text found.
code »
rcdata(text)
Handler called when RCDATA is found.
Arguments:
text : string
The RCDATA text found.
code »
startTag(nameattributes)
Handler called when the parser found a new tag.
Arguments:
name : string
The name of the tag that is starting.
attributes : Array.<string>
The attributes of the tag.
code »

Instance Properties

endDoc :
Handler called when the parsing is done.
Code »
startDoc :
Handler called when the parser is starting to parse the document.
Code »

Package string.html

Package Reference