Up: No Title
Package hax
An event protocol for HTML serialization, this package is similar
to the SAX protocol defined by cxml for XML serialization.
(Technically, this package should have been spelled SAH, but HAX sounds better.)
Note that Closure HTML is not a streaming parser yet. Documents are always parsed in full before the first HAX event is emitted. In spite of this restriction, the HAX API is useful for HTML serialization and transformation purposes, and for integration with SAX.
(Technically, this package should have been spelled SAH, but HAX sounds better.)
Note that Closure HTML is not a streaming parser yet. Documents are always parsed in full before the first HAX event is emitted. In spite of this restriction, the HAX API is useful for HTML serialization and transformation purposes, and for integration with SAX.
About This PackageThe attribute protocol HAX events HAX handlersThe superclass of all HAX handlers. ... A no-op HAX handler. ... The attribute protocolAn implementation of the HAX attribute protocol. ... Creates a HAX attribute. ... Return an attribute's name. ... Return an attribute's value. ... Return whether the attribute was contained the parsed document. ... HAX eventsSignals the beginning of an HTML document. ... Signals the beginning of an HTML element. ... Signals the end of an HTML element. ... Signals character data. ... Escaping bypass. ... Write a comment node. ... Signals a comment. ... Signals the end of an HTML document. ... | Exported Symbol Index
|