Class atropa.HTMLParser
Version
20120909.
Creates a new HTML Parser
Defined in: <node_modules/atropa-HTMLParser/src/atropa-HTMLParser.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
Creates a new HTML Parser
Carry out DOM operations without loading content to the active document. |
Field Attributes | Field Name and Description |
---|---|
Holds the created HTML DOM Document.
|
Method Attributes | Method Name and Description |
---|---|
loadString(htmlstring)
Creates a new HTML DOM Document and loads the given string into it.
|
|
Creates a blank HTML DOM Document.
|
Class Detail
atropa.HTMLParser()
Creates a new HTML Parser
Carry out DOM operations without loading content to the active document.
Author: Matthew Christopher Kastor-Inare III
☭ Hial Atropa!! ☭.
Carry out DOM operations without loading content to the active document.
Author: Matthew Christopher Kastor-Inare III
☭ Hial Atropa!! ☭.
- Returns:
- {HTML DOM Document} Returns a blank HTML Document for you to load data into
- Requires:
- atropa.data
Field Detail
{HTML DOM Document}
doc
Holds the created HTML DOM Document.
Method Detail
{HTML DOM Document}
loadString(htmlstring)
Creates a new HTML DOM Document and loads the given string into it.
Author: Matthew Christopher Kastor-Inare III
☭ Hial Atropa!! ☭.
Author: Matthew Christopher Kastor-Inare III
☭ Hial Atropa!! ☭.
- Parameters:
- {String} htmlstring
- a string of HTML data
- Returns:
- {HTML DOM Document} Resets the doc property of this instance, loading a new document with the string given.
{HTML DOM Document}
newDocument()
- Returns:
- {HTML DOM Document} Resets the doc property of this instance and, returns a blank HTML Document for you to load data into.