goog.string.html.HtmlSaxHandler
Classgoog.string.html.HtmlSaxHandler()
An interface to the {@code goog.string.html.HtmlParser} visitor, that gets called while the HTML is being parsed.
.cdata(text)
Handler called when CDATA is found.
text
{string
}
.endDoc()
Handler called when the parsing is done.
.endTag(name)
Handler called when the parser found a closing tag.
name
{string
}
.pcdata(text)
Handler called when PCDATA is found.
text
{string
}
.rcdata(text)
Handler called when RCDATA is found.
text
{string
}
.startDoc()
Handler called when the parser is starting to parse the document.
.startTag(name, attributes)
Handler called when the parser found a new tag.
name
{string
}
attributes
{Array
.<string
>}