Class DOMTreeAdapter

Constructor

class DOMTreeAdapter()

Methods

adaptDocument

DOMTreeAdapter#adaptDocument(doc)
Arguments:
  • doc

Create node wrappers for all element and text nodes in the specified document and return the root wrapper.

adaptElement

DOMTreeAdapter#adaptElement(element)
Arguments:
  • element

Create node wrappers for the specified element or text node and all its descentants and return toplevel wrapper.

createDocument

DOMTreeAdapter#createDocument(doc, tree)
Arguments:
  • doc
  • tree

Populate the document with the given dom tree.

Table Of Contents

Previous topic

DOM Tree Adapter

Next topic

Class DOMNodeHash