| Namespace | tinymce.html |
| Class | DomParser |
| Method | Defined By |
|---|---|
|
Constructs a new DomParser instance.
|
DomParser |
|
addAttributeFilter(callback:function):void
Adds a attribute filter function to the parser, the parser will collect nodes that has the specified attributes and then...
|
DomParser |
|
addNodeFilter(callback:function):void
Adds a node filter function to the parser, the parser will collect the specified nodes by name and then execute the call...
|
DomParser |
|
Parses the specified HTML string into a DOM like node tree and returns the result.
|
DomParser |
public
function DomParser(settings:Object, schema:Schema)
| settings:Object | Name/value collection of settings. comment, cdata, text, start and end are callbacks. |
| schema:Schema | HTML Schema class to use when parsing. |
public
function addAttributeFilter(callback:function):void
| callback:function | Callback function to execute once it has collected nodes. |
public
function addNodeFilter(callback:function):void
| callback:function | Callback function to execute once it has collected nodes. |
public
function parse(html:String, args:Object):Node
| html:String | Html string to sax parse. |
| args:Object | Optional args object that gets passed to all filter functions. |