Static
PCDATAThe list of tags chose content is not parsed (PCDATA)
Static
SELF_The list of self-closing tags
Protected
addThe adaptor for managing nodes
The node getting the attributes
The array of space, name, value1, value2, value3 as described above.
Protected
addThe adaptor for managing nodes
The node to add a comment to
The text for the comment node
The comment element
Protected
addThe adaptor for managing nodes
The node to add a text element to
The text for the text node
The text element
Protected
allThe adaptor for managing nodes
The node to serialize
True when producing XML, false for HTML
The attribute list
Protected
checkCheck the contents of the parsed document and move html, head, and body tags into the document structure. That way, you can parse fragments or full documents and still get a valid document.
The adaptor for managing nodes
The document being checked
Protected
closeThe adaptor for managing nodes
The node to close
The close tag being processed
The first unclosed parent node
Protected
getChecks if the body has only one element child (as opposed to comments or text nodes) and returns that sole element (or null if none or more than one)
The adaptor for managing nodes
The body element being checked
The sole LiteElement child of the body, or null if none or more than one
Protected
handleThe adaptor for managing nodes
The node whose PCDATA content is being collected
The tag name being handled
The array of text/tag data for the document
Protected
openThe adaptor for managing nodes
The parent node for the tag
The tag being processed
The rest of the text/tag array
The node to which the next tag will be added
The attribute value to be HTML escaped
True if XML rules are to be used
The string with " replaced by entities
The text to be HTML escaped
The string with &, <, and > replaced by entities
The adaptor for managing nodes
The node to serialize
True when producing XML, false for HTML
The serialized element (like outerHTML)
The adaptor for managing nodes
The node whose innerHTML is needed
True if XML rules should be used (e.g., self-closing tags)
The serialized element (like innerHTML)
Implements a lightweight DOMParser replacement (Not perfect, but handles most well-formed HTML)