Constructor.
rules to apply on conversion
Called as soon as a node got attached to the DOM.
Note on context: The source node references the related
representation of parentNode in the original document.
parent node child got appended to
child node that got appended
current conversion context
Dumps the IDs of configured rules.
logger to write debug information to
optional indent
Provides the possibility to handle a just imported node. The node is neither attached to DOM, nor children are available.
the just imported node
current conversion context
the node to continue with in further processing or a signal
what to do instead; if method is not defined or undefined is returned,
processing continues with the original node.
Provides the opportunity to handle a just imported node, having its children processed. The node is not attached to the DOM yet, though.
imported node, possibly with children
current conversion context
the node to attach to the DOM eventually; or a corresponding
signal what to do instead; undefined or not implemented would continue
processing with the importedNode
Prior to importing the original node, you may want to modify it. Note that allowed modification is limited, though.
original (mutable!) node
Replaces previously configured rules by new ones.
rules to set
Rule based HTML DOM Converter.